Replace test scrips with nand and nor versions
[yaffs2.git] / direct / tests / run_fw_update_test_nor.sh
diff --git a/direct/tests/run_fw_update_test_nor.sh b/direct/tests/run_fw_update_test_nor.sh
new file mode 100755 (executable)
index 0000000..5bfd945
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+
+for ((i=0; i < 100000; i++))  
+do
+
+   seed=$RANDOM   
+   j=$(( $i % 10 ))
+   rm seed*$j
+   echo $seed>seed-for-run-$i
+   rm data*$j
+   cp emfile-nor data-for-run-$i
+   echo "######### Run $i with seed $seed"
+   ./yaffs_test -f -u -p -s$seed M18-1
+done