projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d221c0
)
yaffs Get fuzz tester to run further
author
Charles Manning
<cdhmanning@gmail.com>
Wed, 4 Aug 2010 02:51:06 +0000
(14:51 +1200)
committer
Charles Manning
<cdhmanning@gmail.com>
Wed, 4 Aug 2010 02:51:06 +0000
(14:51 +1200)
During fuzz testing we allow tests to run even if integrity errors happen. This
allows the fuzz test to check for more complex cases.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/tests/nor_stress.c
patch
|
blob
|
history
diff --git
a/direct/tests/nor_stress.c
b/direct/tests/nor_stress.c
index bb614d8481363b380a48850aefee081908f01269..3802837130d997e1f34840ddcdc2b3c470fb9094 100644
(file)
--- a/
direct/tests/nor_stress.c
+++ b/
direct/tests/nor_stress.c
@@
-21,6
+21,7
@@
#include <stdio.h>
+extern int fuzz_test;
#if 1
#define FSX_INIT(mount_pt) do{ if(interleave_fsx) yaffs_fsx_init(mount_pt); } while(0)
@@
-89,6
+90,10
@@
void MakeFullNames(const char *prefix)
static void FatalError(int lineNo)
{
printf("Integrity error %d\n",lineNo);
+
+ if(fuzz_test)
+ return;
+
if(ext_fatal)
ext_fatal();