view direct/tests/run_fw_update_test_nand.sh @ 326:8679e24f3b66

Change tests so they can run in parallel in same directory
author charles
date Wed, 14 Oct 2009 02:28:14 +0100
parents 3a568ad48cc1
children 73f68bc42451
line wrap: on
line source

#!/bin/bash


for ((i=0; i < 100000; i++))  
do

   seed=$RANDOM   
   j=$(( $i % 10 ))
   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 -f -p -s$seed yaffs2
done