Have updated yaffs direct tests and added README files to the tests.
[yaffs2.git] / direct / tests / launch_tests.sh
index b1119a6b0342335fa8e68ec9190ab72c04e43542..779fa48c5301406c162355e8460be59888d21003 100755 (executable)
@@ -10,8 +10,12 @@ iterations=100000
 LAUNCHDIR=`pwd`
 RUNDIR=`pwd`/tmp
 mkdir $RUNDIR
+
+if [ -z "$(mount | grep $RUNDIR)" ]; then
 sudo mount -t tmpfs -osize=2G none $RUNDIR
 sudo chmod a+wr $RUNDIR
+fi
+