Set up a test framework.
[yaffs2.git] / direct / tests / run_fw_update_test_nand.sh
diff --git a/direct/tests/run_fw_update_test_nand.sh b/direct/tests/run_fw_update_test_nand.sh
deleted file mode 100755 (executable)
index 70747a1..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-iterations=100000
-
-[ -z $1 ]  || iterations=$1
-
-
-rm iteration-max-*
-touch iteration-max-$iterations
-
-echo " Running $iterations iterations"
-sleep 2
-
-for ((i=0; i < $iterations; i++))  
-do
-
-   seed=$RANDOM   
-   j=$(( $i % 10 ))
-
-   rm -f log-nand-*$j
-   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
-
-   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
-
-   echo "#########"
-   echo "#########"
-   echo "#########"
-   echo "######### Run $i of $iterations with seed $seed"
-   echo "#########"
-   echo "#########"
-   echo "#########"
-   ./yaffs_test -u -f -p -s$seed -t 0 yaffs2 >log-nand-$i
-done