comparison direct/tests/run_fw_update_test_nand.sh @ 430:5a26e5bec29d

yaffs: Tweak tests to use log files This runs faster than spewing onto a terminal. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
author Charles Manning <cdhmanning@gmail.com>
date Mon, 17 May 2010 11:02:42 +1200
parents fb9e777fdea2
children
comparison
equal deleted inserted replaced
424:d21d6fd33e63 430:5a26e5bec29d
14 for ((i=0; i < $iterations; i++)) 14 for ((i=0; i < $iterations; i++))
15 do 15 do
16 16
17 seed=$RANDOM 17 seed=$RANDOM
18 j=$(( $i % 10 )) 18 j=$(( $i % 10 ))
19
20 rm -f log-nand-*$j
19 rm -f seed-nand-*$j 21 rm -f seed-nand-*$j
20 echo $seed>seed-nand-for-run-$i 22 echo $seed>seed-nand-for-run-$i
21 23
22 rm -f emfile-2k-0-*$j 24 rm -f emfile-2k-0-*$j
23 rm -f emfile-2k-1-*$j 25 rm -f emfile-2k-1-*$j
34 echo "#########" 36 echo "#########"
35 echo "######### Run $i of $iterations with seed $seed" 37 echo "######### Run $i of $iterations with seed $seed"
36 echo "#########" 38 echo "#########"
37 echo "#########" 39 echo "#########"
38 echo "#########" 40 echo "#########"
39 ./yaffs_test -u -f -p -s$seed -t 0 yaffs2 41 ./yaffs_test -u -f -p -s$seed -t 0 yaffs2 >log-nand-$i
40 done 42 done