projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added .swp files to .gitignore.
[yaffs2.git]
/
direct
/
test-framework
/
tests
/
run_fw_update_test_nor.sh
diff --git
a/direct/test-framework/tests/run_fw_update_test_nor.sh
b/direct/test-framework/tests/run_fw_update_test_nor.sh
index 9265336111f592b3fac6b92aa40e496e1b7d7e06..eafd553c73142eea23937abbb76be9f771059727 100755
(executable)
--- a/
direct/test-framework/tests/run_fw_update_test_nor.sh
+++ b/
direct/test-framework/tests/run_fw_update_test_nor.sh
@@
-5,7
+5,7
@@
iterations=100000
[ -z $1 ] || iterations=$1
[ -z $1 ] || iterations=$1
-rm iteration-max-*
+rm
-f
iteration-max-*
touch iteration-max-$iterations
echo " Running $iterations iterations"
touch iteration-max-$iterations
echo " Running $iterations iterations"
@@
-17,14
+17,14
@@
do
seed=$RANDOM
j=$(( $i % 10 ))
seed=$RANDOM
j=$(( $i % 10 ))
- rm seed-nor-*$j
+ rm
-f
seed-nor-*$j
echo $seed>seed-nor-for-run-$i
echo $seed>seed-nor-for-run-$i
- rm emfile-nor-*$j
+ rm
-f
emfile-nor-*$j
cp emfile-nor emfile-nor-$i
cp emfile-nor emfile-nor-$i
- rm log-nor-*$j
+ rm
-f
log-nor-*$j
echo "#########"
echo "#########"
echo "#########"
echo "#########"
@@
-33,7
+33,6
@@
do
echo "#########"
echo "#########"
echo "#########"
echo "#########"
echo "#########"
echo "#########"
- ./yaffs_test -u -f -p -s$seed -t0 M18-1
- #>log-nor-$i
+ ./yaffs_test -u -f -p -s$seed -t0 nor >log-nor-$i
done
done