projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update timothy test Makefile
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_unlink_EROFS.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_unlink_EROFS.c
b/direct/timothy_tests/quick_tests/test_yaffs_unlink_EROFS.c
index 23ac0f77a9c68196c67cfb3feebefc3dade39e55..7e1d602feaad6607b482162739e2a9b3ca27e525 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_unlink_EROFS.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_unlink_EROFS.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>
@@
-12,11
+12,11
@@
*/
#include "test_yaffs_open_EROFS.h"
*/
#include "test_yaffs_open_EROFS.h"
-
+static int output =0;
int test_yaffs_unlink_EROFS(void)
{
int test_yaffs_unlink_EROFS(void)
{
- int output=0;
+
int error_code=0;
EROFS_setup();
int error_code=0;
EROFS_setup();
@@
-38,7
+38,7
@@
int test_yaffs_unlink_EROFS(void)
}
int test_yaffs_unlink_EROFS_clean(void)
}
int test_yaffs_unlink_EROFS_clean(void)
-{
- return EROFS_clean();
+{
+ return EROFS_clean()
&& yaffs_close(test_yaffs_open())
;
}
}