Changes to test scripts
[yaffs2.git] / direct / test-framework / tests / run_fw_update_test_m18.sh
index 9271563158d81f05ae1b163b4dbcd835fe292692..ed762463df9ac054e589bf01849b63126b369920 100755 (executable)
@@ -1,11 +1,14 @@
 #!/bin/bash
 
+
+#set -x
+
 iterations=100000
 
 [ -z $1 ]  || iterations=$1
 
 
-rm iteration-max-*
+rm -f iteration-max-*
 touch iteration-max-$iterations
 
 echo " Running $iterations iterations"
@@ -21,10 +24,10 @@ do
    echo $seed>seed-m18-for-run-$i
 
 
-   rm emfile-m18-*$j
+   rm -f emfile-m18-*$j
    cp emfile-m18 emfile-m18-$i
 
-   rm log-m18-*$j
+   rm -f log-m18-*$j
 
    echo "#########"
    echo "#########"
@@ -33,7 +36,6 @@ do
    echo "#########"
    echo "#########"
    echo "#########"
-   ./yaffs_test -u -f -p -s$seed -t0 M18-1
-   #>log-m18-$i
+   ./yaffs_test -u -f -p -s$seed -t0 M18-1 >log-m18-$i
 done