yaffs More tests added to direct/timothy_tests/quick_tests/
authorTimothy Manning <tfhmanning@gmail.com>
Mon, 22 Nov 2010 04:40:52 +0000 (17:40 +1300)
committerTimothy Manning <tfhmanning@gmail.com>
Mon, 22 Nov 2010 22:21:50 +0000 (11:21 +1300)
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
direct/timothy_tests/quick_tests/test_yaffs_rmdir.c

index 3d8dbae4f3e74c3344159e8a8f1f8b4a9245e97a..80146f96378b23fa807698eff38cf35c8a7a84b0 100644 (file)
@@ -21,15 +21,15 @@ int test_yaffs_rmdir(void)
                output = yaffs_mkdir(DIR_PATH,S_IWRITE | S_IREAD);
                if (output < 0) {
                        print_message("failed to create directory\n",2);
+                       return -1;
                }
        }
-       
        return yaffs_rmdir(DIR_PATH);
 }
 
 
 int test_yaffs_rmdir_clean(void)
 {
-       return -1;
+       return 1;
 }