projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d655157
)
Tweak tests
author
charles
<charles>
Fri, 16 Jan 2009 02:26:56 +0000
(
02:26
+0000)
committer
charles
<charles>
Fri, 16 Jan 2009 02:26:56 +0000
(
02:26
+0000)
direct/tests/nor_stress.c
patch
|
blob
|
history
direct/yaffs_fileem2k.c
patch
|
blob
|
history
diff --git
a/direct/tests/nor_stress.c
b/direct/tests/nor_stress.c
index 51a6bdd25ee8518388d86a2eb69a538da0302f44..5676159e4045db946b20410346d1cc4e3639cf3b 100644
(file)
--- a/
direct/tests/nor_stress.c
+++ b/
direct/tests/nor_stress.c
@@
-71,7
+71,9
@@
void MakeFullNames(const char *prefix)
static void FatalError(void)
{
printf("Integrity error\n");
static void FatalError(void)
{
printf("Integrity error\n");
- while(1){}
+ while(1){
+ sleep(1);
+ }
}
static void UpdateCounter(const char *name, unsigned *val, int initialise)
}
static void UpdateCounter(const char *name, unsigned *val, int initialise)
diff --git
a/direct/yaffs_fileem2k.c
b/direct/yaffs_fileem2k.c
index a4baaa3c7e7825ab8436fb4b8277898436a7a19c..105027602e8d74a4e07c7a170d2a794358471562 100644
(file)
--- a/
direct/yaffs_fileem2k.c
+++ b/
direct/yaffs_fileem2k.c
@@
-16,7
+16,7
@@
* This is only intended as test code to test persistence etc.
*/
* This is only intended as test code to test persistence etc.
*/
-const char *yaffs_flashif2_c_version = "$Id: yaffs_fileem2k.c,v 1.1
7 2009-01-16 00:46:59
charles Exp $";
+const char *yaffs_flashif2_c_version = "$Id: yaffs_fileem2k.c,v 1.1
8 2009-01-16 02:26:56
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-143,7
+143,7
@@
static int CheckInit(void)
srand(random_seed);
srand(random_seed);
- remaining_ops = (rand() % 1000) *
2
;
+ remaining_ops = (rand() % 1000) *
5
;
memset(dummyBuffer,0xff,sizeof(dummyBuffer));
memset(dummyBuffer,0xff,sizeof(dummyBuffer));