Mercurial > yaffs-ecoscentric
view direct/tests/run_fw_update_test_nand.sh @ 345:bfc268444ee2
More test tweaks
| author | charles |
|---|---|
| date | Sat, 07 Nov 2009 22:35:15 +0000 |
| parents | 73f68bc42451 |
| children |
line wrap: on
line source
#!/bin/bash iterations=100000 [ -z $1 ] || iterations=$1 rm iteration-max-* touch iteration-max-$iterations echo " Running $iterations iterations" sleep 2 for ((i=0; i < $iterations; i++)) do seed=$RANDOM j=$(( $i % 10 )) rm seed-nand-*$j echo $seed>seed-nand-for-run-$i rm emfile-2k-0-*$j cp emfile-2k-0 emfile-2k-0-$i echo "#########" echo "#########" echo "#########" echo "######### Run $i of $iterations with seed $seed" echo "#########" echo "#########" echo "#########" ./yaffs_test -u -f -p -s$seed yaffs2 done
