X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_rename_EROFS.c;h=768a2d6c9ae7535ac98d8b7195d60f157e88d550;hp=5f5437bf924d3e0c4f70273d9b2d2b90e32e47ca;hb=a78bce6f4a7042fa153ab32d2bb263ecf7d27b66;hpb=41a39f326b4b732a36310275c0f4489c07117679 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())); }