projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get timothy quick tests building cleanly.
[yaffs2.git]
/
direct
/
test-framework
/
timothy_tests
/
quick_tests
/
test_yaffs_stat_ENOTDIR.c
diff --git
a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOTDIR.c
b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOTDIR.c
index ce228057f1592dfcbe26139c91ba026a0a4f7f30..5c3ba77cc102956245f224385e3407f37fd1230b 100644
(file)
--- a/
direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOTDIR.c
+++ b/
direct/test-framework/timothy_tests/quick_tests/test_yaffs_stat_ENOTDIR.c
@@
-18,8
+18,7
@@
int test_yaffs_stat_ENOTDIR(void)
int error_code=0;
struct yaffs_stat stat;
int output=0;
- char text[100];
- text[0] ='\0';
+
if (yaffs_close(yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE))==-1){
print_message("failed to create file\n",1);
return -1;