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
/
dtest.c
diff --git
a/direct/dtest.c
b/direct/dtest.c
index 8476743d8cdec14916445d8777ee397a6190d2b8..4478cdc9c515a588d5a26635d23db6515d84810c 100644
(file)
--- a/
direct/dtest.c
+++ b/
direct/dtest.c
@@
-22,6
+22,8
@@
#include "yaffsfs.h"
+#include "nor_stress.h"
+
void dumpDir(const char *dname);
char xx[600];
@@
-2281,9
+2283,11
@@
void random_small_file_test(const char *mountpt,int iterations)
}
+int random_seed;
int main(int argc, char *argv[])
{
+ random_seed = time(NULL);
//return long_test(argc,argv);
//return cache_read_test();