yaffs Yet more tests for quick tests.
[yaffs2.git] / direct / tests / manage_nand_test.sh
1 #! /bin/sh
2
3 dir_id=-none
4 [ -z $1 ] || dir_id=$1
5
6 iterations=100000
7
8 [ -z $2 ]  || iterations=$2
9
10 STARTDIR=`pwd`
11 RUNDIR=`pwd`/tmp/nand-$dir_id
12 mkdir $RUNDIR
13 cd $RUNDIR
14 cp $STARTDIR/*sh .
15 ln -s $STARTDIR/yaffs_test yaffs_test
16
17 ./init_fw_update_test_nand.sh
18 ./run_fw_update_test_nand.sh $iterations
19
20
21 echo "!!!!!!!!!!!"
22 echo "Tests done"
23 while true
24 do
25         sleep 10
26 done