projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Make directory for extracting common wince files
[yaffs2.git]
/
direct
/
tests
/
yaffs_test.c
diff --git
a/direct/tests/yaffs_test.c
b/direct/tests/yaffs_test.c
index 81eb1003b9fe321a8834c322ed447810d70f16ee..520626abe74e07ece3dd438f6240c3fe46c6bfce 100644
(file)
--- a/
direct/tests/yaffs_test.c
+++ b/
direct/tests/yaffs_test.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002 Aleph One Ltd.
+ * Copyright (C) 2002
-2010
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-24,6
+24,8
@@
#include "yaffsfs.h"
#include "yaffsfs.h"
+#include "yaffs_trace.h"
+
#include "nor_stress.h"
#include "yaffs_fsx.h"
#include "nor_stress.h"
#include "yaffs_fsx.h"
@@
-190,7
+192,7
@@
int main(int argc, char **argv)
signal(SIGBUS,bad_ptr_handler);
signal(SIGABRT,bad_ptr_handler);
#endif
signal(SIGBUS,bad_ptr_handler);
signal(SIGABRT,bad_ptr_handler);
#endif
- while ((ch = getopt(argc,argv, "bfilmn:ps:u"))
+ while ((ch = getopt(argc,argv, "bfilmn:ps:
t:
u"))
!= EOF)
switch (ch) {
case 's':
!= EOF)
switch (ch) {
case 's':
@@
-220,6
+222,9
@@
int main(int argc, char **argv)
case 'n':
n_cycles = atoi(optarg);
break;
case 'n':
n_cycles = atoi(optarg);
break;
+ case 't':
+ yaffs_traceMask = strtol(optarg,NULL,0);
+ break;
default:
BadUsage();
/* NOTREACHED */
default:
BadUsage();
/* NOTREACHED */