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_stat_ELOOP.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c
b/direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c
index 451b77f5dc808814cfffe0f033f0a38ecea33a46..eee9adaf67458e90e1bd7dcdd3022b74cd8022ed 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.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>
@@
-28,7
+28,7
@@
int test_yaffs_stat_ELOOP(void)
output=yaffs_stat(ELOOP_PATH, &stat);;
if (output<0){
error_code=yaffs_get_error();
output=yaffs_stat(ELOOP_PATH, &stat);;
if (output<0){
error_code=yaffs_get_error();
- if (abs(error_code)==E
NOTDIR
){
+ if (abs(error_code)==E
LOOP
){
return 1;
} else {
print_message("returned error does not match the the expected error\n",2);
return 1;
} else {
print_message("returned error does not match the the expected error\n",2);