X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Ftests%2Frun_fw_update_test_nand.sh;h=10e6a64f6f23b562bf8f93996eac10b6c3938f04;hp=70747a1406697e7c4970699aca4df2fef7952f0d;hb=93d04b9574a71315361b3ae5294b8ff95a6d848c;hpb=a78bce6f4a7042fa153ab32d2bb263ecf7d27b66 diff --git a/direct/test-framework/tests/run_fw_update_test_nand.sh b/direct/test-framework/tests/run_fw_update_test_nand.sh index 70747a1..10e6a64 100755 --- a/direct/test-framework/tests/run_fw_update_test_nand.sh +++ b/direct/test-framework/tests/run_fw_update_test_nand.sh @@ -5,7 +5,7 @@ iterations=100000 [ -z $1 ] || iterations=$1 -rm iteration-max-* +rm -f iteration-max-* touch iteration-max-$iterations echo " Running $iterations iterations" @@ -21,15 +21,9 @@ do rm -f seed-nand-*$j echo $seed>seed-nand-for-run-$i - rm -f emfile-2k-0-*$j - rm -f emfile-2k-1-*$j - rm -f emfile-2k-2-*$j - rm -f emfile-2k-3-*$j + rm -f emfile-nand-*$j - cp emfile-2k-0 emfile-2k-0-$i - cp emfile-2k-1 emfile-2k-1-$i - cp emfile-2k-2 emfile-2k-2-$i - cp emfile-2k-3 emfile-2k-3-$i + cp emfile-nand emfile-nand-$j echo "#########" echo "#########" @@ -38,5 +32,5 @@ do echo "#########" echo "#########" echo "#########" - ./yaffs_test -u -f -p -s$seed -t 0 yaffs2 >log-nand-$i + ./yaffs_test -u -f -p -s$seed -t 0 nand >log-nand-$i done