Merge branch 'big-files': Merge in large file support
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_rename_EROFS.c
index 5f5437bf924d3e0c4f70273d9b2d2b90e32e47ca..768a2d6c9ae7535ac98d8b7195d60f157e88d550 100644 (file)
@@ -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 <timothy@yaffs.net>
@@ -53,7 +53,7 @@ int test_yaffs_rename_EROFS_clean(void)
                }
        }
        
-       return  EROFS_clean();
+       return  (EROFS_clean() && yaffs_close(test_yaffs_open()));
 
 }