X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_unlink_EROFS.c;h=f59dce0550b32ce5f14f02a98866c46658a29adf;hb=5092cb42f05f875154d89639dbd5d6cea573da5f;hp=23ac0f77a9c68196c67cfb3feebefc3dade39e55;hpb=41a39f326b4b732a36310275c0f4489c07117679;p=yaffs2.git 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 23ac0f7..f59dce0 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_unlink_EROFS.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_unlink_EROFS.c @@ -12,11 +12,11 @@ */ #include "test_yaffs_open_EROFS.h" - +static int output =0; int test_yaffs_unlink_EROFS(void) { - int output=0; + int error_code=0; EROFS_setup(); @@ -38,7 +38,7 @@ int test_yaffs_unlink_EROFS(void) } int test_yaffs_unlink_EROFS_clean(void) -{ - return EROFS_clean(); +{ + return EROFS_clean()&& yaffs_close(test_yaffs_open()) ; }