From 91b4dd9fa84e71dc0da65e445e15a2e349b00a54 Mon Sep 17 00:00:00 2001 From: Timothy Manning Date: Mon, 22 Nov 2010 17:40:52 +1300 Subject: [PATCH] yaffs More tests added to direct/timothy_tests/quick_tests/ Signed-off-by: Timothy Manning --- direct/timothy_tests/quick_tests/test_yaffs_rmdir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/timothy_tests/quick_tests/test_yaffs_rmdir.c b/direct/timothy_tests/quick_tests/test_yaffs_rmdir.c index 3d8dbae..80146f9 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_rmdir.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_rmdir.c @@ -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; } -- 2.30.2