Change tests so they can run in parallel in same directory
[yaffs2.git] / direct / tests / run_fw_update_test_nand.sh
index 3d6ead807e0913aa8ac0e48990728e1e9a8bd0ed..8893d40b02764463f92782def76f654282d1f269 100755 (executable)
@@ -6,10 +6,10 @@ do
 
    seed=$RANDOM   
    j=$(( $i % 10 ))
-   rm seed*$j
-   echo $seed>seed-for-run-$i
+   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 "######### Run $i with seed $seed"
-   ./yaffs_test -u -p -s$seed yaffs2
+   ./yaffs_test -u -f -p -s$seed yaffs2
 done