projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve test harness for yaffs2 mode
[yaffs2.git]
/
direct
/
tests
/
yaffs_test.c
diff --git
a/direct/tests/yaffs_test.c
b/direct/tests/yaffs_test.c
index 421b5b17708b1c4df38e3a4db0ffd7afbea3236a..0030493d9e42747ac5ff89053e999c704b561ae5 100644
(file)
--- a/
direct/tests/yaffs_test.c
+++ b/
direct/tests/yaffs_test.c
@@
-101,7
+101,7
@@
int main(int argc, char **argv)
simulate_power_failure = 0;
NorStressTestInitialise(mount_point);
} else if(do_upgrade){
simulate_power_failure = 0;
NorStressTestInitialise(mount_point);
} else if(do_upgrade){
- printf("Running stress on %s with seed %d\n",
argv[1]
,random_seed);
+ printf("Running stress on %s with seed %d\n",
mount_point
,random_seed);
NorStressTestRun(mount_point,n_cycles,do_fsx);
} else if(do_fsx){
yaffs_fsx_main(mount_point,n_cycles);
NorStressTestRun(mount_point,n_cycles,do_fsx);
} else if(do_fsx){
yaffs_fsx_main(mount_point,n_cycles);