projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set up a test framework.
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_access_NULL.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c
b/direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c
index d9b2310b1b8cc7812f015b60b0d11418edefd26b..5b1e8222a175be97ab2fed8a366f415f00ebc6f5 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_access_NULL.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_access_NULL.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-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Timothy Manning <timothy@yaffs.net>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Timothy Manning <timothy@yaffs.net>
@@
-24,7
+24,7
@@
int test_yaffs_access_NULL(void)
output= yaffs_access(NULL,0);
if (output<0){
error=yaffs_get_error();
output= yaffs_access(NULL,0);
if (output<0){
error=yaffs_get_error();
- if ( abs(error)== E
LOOP
){
+ if ( abs(error)== E
FAULT
){
return 1;
} else {
print_message("error does not match expected error\n",2);
return 1;
} else {
print_message("error does not match expected error\n",2);