projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs improvements on timothy_tests.
[yaffs2.git]
/
direct
/
tests
/
manage_nor_test.sh
diff --git
a/direct/tests/manage_nor_test.sh
b/direct/tests/manage_nor_test.sh
index e1c94d5bc87f87fcf210dd0d0c24608be1298928..60b78daa44426f7bd92fbf55f783a2b1b8bb5182 100755
(executable)
--- a/
direct/tests/manage_nor_test.sh
+++ b/
direct/tests/manage_nor_test.sh
@@
-3,14
+3,24
@@
dir_id=-none
[ -z $1 ] || dir_id=$1
dir_id=-none
[ -z $1 ] || dir_id=$1
-RUNDIR=`pwd`/tmpnor$dir_id
+
+iterations=100000
+
+[ -z $2 ] || iterations=$2
+
+STARTDIR=`pwd`
+RUNDIR=`pwd`/tmp/nor-$dir_id
mkdir $RUNDIR
mkdir $RUNDIR
-sudo mount -t tmpfs none $RUNDIR
-sudo chmod a+wr $RUNDIR
cd $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
./init_fw_update_test_nor.sh
-./run_fw_update_test_nor.sh
+./run_fw_update_test_nor.sh
$iterations
+echo "!!!!!!!!!!!"
+echo "Tests done"
+while true
+do
+sleep 10
+done