5 [ -z $1 ] || iterations=$1
9 touch iteration-max-$iterations
11 echo " Running $iterations iterations"
14 for ((i=0; i < $iterations; i++))
22 echo $seed>seed-nand-for-run-$i
26 cp emfile-nand emfile-nand-$j
31 echo "######### Run $i of $iterations with seed $seed"
35 ./yaffs_test -u -f -p -s$seed -t 0 nand >log-nand-$i