projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs direct: Dereference symlinks in chmod
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_rename_dir_ENOENT.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_rename_dir_ENOENT.c
b/direct/timothy_tests/quick_tests/test_yaffs_rename_dir_ENOENT.c
index a4232e61af819d76d66e5a1193d1c75e9072a63b..34852362099511cb93eb7a583b30fb3db61b4998 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_rename_dir_ENOENT.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_rename_dir_ENOENT.c
@@
-29,7
+29,7
@@
int test_yaffs_rename_dir_ENOENT(void)
output = yaffs_rename( "/yaffs2/non-existing-dir/" , RENAME_DIR_PATH);
if (output<0){
error_code=yaffs_get_error();
output = yaffs_rename( "/yaffs2/non-existing-dir/" , RENAME_DIR_PATH);
if (output<0){
error_code=yaffs_get_error();
- if (abs(error_code)==E
INVAL
){
+ if (abs(error_code)==E
NOENT
){
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);