projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaks to nor stress simulation. Save random seed so that we can do better debugging
[yaffs2.git]
/
direct
/
run_fw_update_test.sh
diff --git
a/direct/run_fw_update_test.sh
b/direct/run_fw_update_test.sh
index b08fa84d1a57a757dca737df294fecc9702ef2ee..8ba15306c644bd60eb0717dc4af95c6489fffa64 100755
(executable)
--- a/
direct/run_fw_update_test.sh
+++ b/
direct/run_fw_update_test.sh
@@
-3,10
+3,13
@@
for ((i=0; i < 100000; i++))
do
for ((i=0; i < 100000; i++))
do
- echo $i > cycle.count
+
+ seed=$RANDOM
j=$(( $i % 10 ))
j=$(( $i % 10 ))
-
+ rm seed*$j
+ echo $seed>seed$i
rm data*$j
cp ynorsimdata data$i
rm data*$j
cp ynorsimdata data$i
- ./yaffs_test /M18-1 fw_update
+ echo "######### Run $i with seed $seed"
+ ./yaffs_test /M18-1 fw_update $seed
done
done