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