projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Waldemar's patches for Linux 3.2
[yaffs2.git]
/
direct
/
tests
/
launch_tests.sh
diff --git
a/direct/tests/launch_tests.sh
b/direct/tests/launch_tests.sh
index 1005ff28b69b4e3883ae4bfbdbc18a3ce8325386..779fa48c5301406c162355e8460be59888d21003 100755
(executable)
--- a/
direct/tests/launch_tests.sh
+++ b/
direct/tests/launch_tests.sh
@@
-10,8
+10,12
@@
iterations=100000
LAUNCHDIR=`pwd`
RUNDIR=`pwd`/tmp
mkdir $RUNDIR
-sudo mount -t tmpfs none $RUNDIR
+
+if [ -z "$(mount | grep $RUNDIR)" ]; then
+sudo mount -t tmpfs -osize=2G none $RUNDIR
sudo chmod a+wr $RUNDIR
+fi
+