Change tests so they can run in parallel in same directory
authorcharles <charles>
Wed, 14 Oct 2009 01:28:14 +0000 (01:28 +0000)
committercharles <charles>
Wed, 14 Oct 2009 01:28:14 +0000 (01:28 +0000)
direct/tests/run_fw_update_test_nand.sh
direct/tests/run_fw_update_test_nor.sh

index 61baf7f..8893d40 100755 (executable)
@@ -6,8 +6,8 @@ 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"
index 5bfd945..b9daa24 100755 (executable)
@@ -6,8 +6,8 @@ do
 
    seed=$RANDOM   
    j=$(( $i % 10 ))
-   rm seed*$j
-   echo $seed>seed-for-run-$i
+   rm seed-nor-*$j
+   echo $seed>seed-nor-for-run-$i
    rm data*$j
    cp emfile-nor data-for-run-$i
    echo "######### Run $i with seed $seed"