yaffs Fixed some tests in direct/timothy_tests/quick_tests
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_unlink_EROFS.c
index 23ac0f77a9c68196c67cfb3feebefc3dade39e55..f59dce0550b32ce5f14f02a98866c46658a29adf 100644 (file)
  */
 
 #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()) ;
 }