yaffs Increase size of test tmpfs area
authorCharles Manning <cdhmanning@gmail.com>
Sun, 26 Sep 2010 23:24:58 +0000 (12:24 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 26 Sep 2010 23:24:58 +0000 (12:24 +1300)
The yaffs direct tests run in a tmpfs mount so that they run faster
and don't hit the disk.

The previous size was not enough to run all the tests in parallel.
Increase  to 2G bytes.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/tests/launch_tests.sh

index 1005ff28b69b4e3883ae4bfbdbc18a3ce8325386..b1119a6b0342335fa8e68ec9190ab72c04e43542 100755 (executable)
@@ -10,7 +10,7 @@ iterations=100000
 LAUNCHDIR=`pwd`
 RUNDIR=`pwd`/tmp
 mkdir $RUNDIR
 LAUNCHDIR=`pwd`
 RUNDIR=`pwd`/tmp
 mkdir $RUNDIR
-sudo mount -t tmpfs none $RUNDIR
+sudo mount -t tmpfs -osize=2G none $RUNDIR
 sudo chmod a+wr $RUNDIR
 
 
 sudo chmod a+wr $RUNDIR