X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_unlink_EROFS.c;h=7e1d602feaad6607b482162739e2a9b3ca27e525;hp=23ac0f77a9c68196c67cfb3feebefc3dade39e55;hb=121c055437f23d9d6bc7b57d36ecf128b447013f;hpb=41a39f326b4b732a36310275c0f4489c07117679 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..7e1d602 100644 --- 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. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning @@ -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()) ; }