yaffs: Tweak test scripts
[yaffs2.git] / direct / tests / manage_nand_test.sh
index 0d02f137abb4d250896c758a808faff0aaa57430..3d985d39b2f52ed152c75d1e8355da5287f3f3a5 100755 (executable)
@@ -3,14 +3,20 @@
 dir_id=-none
 [ -z $1 ] || dir_id=$1
 
-RUNDIR=`pwd`/tmpnand$dir_id
+STARTDIR=`pwd`
+RUNDIR=`pwd`/tmp/nand-$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_nand.sh
 ./run_fw_update_test_nand.sh
 
+
+echo "!!!!!!!!!!!"
+echo "Tests done"
+while true
+do
+       sleep 10
+done