Changes to test scripts
[yaffs2.git] / direct / test-framework / tests / run_fw_update_test_nor.sh
index 82eebb7f195e24f265cf46d8efc936c8c3a7baff..eafd553c73142eea23937abbb76be9f771059727 100755 (executable)
@@ -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"
@@ -17,14 +17,14 @@ do
    seed=$RANDOM   
    j=$(( $i % 10 ))
 
-   rm seed-nor-*$j
+   rm -f seed-nor-*$j
    echo $seed>seed-nor-for-run-$i
 
 
-   rm emfile-nor-*$j
+   rm -f emfile-nor-*$j
    cp emfile-nor emfile-nor-$i
 
-   rm log-nor-*$j
+   rm -f log-nor-*$j
 
    echo "#########"
    echo "#########"
@@ -33,7 +33,6 @@ do
    echo "#########"
    echo "#########"
    echo "#########"
-   ./yaffs_test -u -f -p -s$seed -t0 nor
-   #>log-nor-$i
+   ./yaffs_test -u -f -p -s$seed -t0 nor >log-nor-$i
 done