projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs working on the timothy_tests. just need to save the current state of the program.
[yaffs2.git]
/
direct
/
tests
/
run_fw_update_test_nand.sh
diff --git
a/direct/tests/run_fw_update_test_nand.sh
b/direct/tests/run_fw_update_test_nand.sh
index 5a26bab05ef85d4b7f7f944d4046506c6f098069..70747a1406697e7c4970699aca4df2fef7952f0d 100755
(executable)
--- a/
direct/tests/run_fw_update_test_nand.sh
+++ b/
direct/tests/run_fw_update_test_nand.sh
@@
-16,10
+16,21
@@
do
seed=$RANDOM
j=$(( $i % 10 ))
seed=$RANDOM
j=$(( $i % 10 ))
- rm seed-nand-*$j
+
+ rm -f log-nand-*$j
+ rm -f seed-nand-*$j
echo $seed>seed-nand-for-run-$i
echo $seed>seed-nand-for-run-$i
- rm emfile-2k-0-*$j
+
+ rm -f emfile-2k-0-*$j
+ rm -f emfile-2k-1-*$j
+ rm -f emfile-2k-2-*$j
+ rm -f emfile-2k-3-*$j
+
cp emfile-2k-0 emfile-2k-0-$i
cp emfile-2k-0 emfile-2k-0-$i
+ cp emfile-2k-1 emfile-2k-1-$i
+ cp emfile-2k-2 emfile-2k-2-$i
+ cp emfile-2k-3 emfile-2k-3-$i
+
echo "#########"
echo "#########"
echo "#########"
echo "#########"
echo "#########"
echo "#########"
@@
-27,5
+38,5
@@
do
echo "#########"
echo "#########"
echo "#########"
echo "#########"
echo "#########"
echo "#########"
- ./yaffs_test -u -f -p -s$seed
yaffs2
+ ./yaffs_test -u -f -p -s$seed
-t 0 yaffs2 >log-nand-$i
done
done