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_rename_file_to_dir.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.c
b/direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.c
index b756b3e1e9a896f72cc8999e9b1b0c26d4b7ae4c..efc87d0f2405c031e10a5f4e284b4d1618632405 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.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>
@@
-52,6
+52,11
@@
int test_yaffs_rename_file_to_dir_clean(void)
print_message("failed to unlink the file\n",2);
return -1;
}
print_message("failed to unlink the file\n",2);
return -1;
}
+ output = test_yaffs_open();
+ if (output < 0) {
+ print_message("failed to open a new\n",2);
+ return -1;
+ }
}
return 1;
}
return 1;