X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_rename_EROFS.c;h=768a2d6c9ae7535ac98d8b7195d60f157e88d550;hb=912be3d8414dea3a2ebf1792698174d3b6d3cbf1;hp=5f5437bf924d3e0c4f70273d9b2d2b90e32e47ca;hpb=41a39f326b4b732a36310275c0f4489c07117679;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c b/direct/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c index 5f5437b..768a2d6 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_rename_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 @@ -53,7 +53,7 @@ int test_yaffs_rename_EROFS_clean(void) } } - return EROFS_clean(); + return (EROFS_clean() && yaffs_close(test_yaffs_open())); }