yaffs: Tweak test scripts
[yaffs2.git] / direct / tests / manage_nor_test.sh
index e1c94d5bc87f87fcf210dd0d0c24608be1298928..d7a08d3c75508811326537638f3f8d64495c5448 100755 (executable)
@@ -3,14 +3,19 @@
 dir_id=-none
 [ -z $1 ] || dir_id=$1
 
-RUNDIR=`pwd`/tmpnor$dir_id
+STARTDIR=`pwd`
+RUNDIR=`pwd`/tmp/nor-$dir_id
 mkdir $RUNDIR
-sudo mount -t tmpfs none $RUNDIR
-sudo chmod a+wr $RUNDIR
 cd $RUNDIR
-cp ../*sh .
-ln -s ../yaffs_test yaffs_test
+cp $STARTDIR/*sh .
+ln -s $STARTDIR/yaffs_test yaffs_test
 
 ./init_fw_update_test_nor.sh
 ./run_fw_update_test_nor.sh
 
+echo "!!!!!!!!!!!"
+echo "Tests done"
+while true
+do
+sleep 10
+done