From: Timothy Manning Date: Mon, 22 Nov 2010 04:40:52 +0000 (+1300) Subject: yaffs More tests added to direct/timothy_tests/quick_tests/ X-Git-Tag: linux-mainline-patchset-4~65 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=91b4dd9fa84e71dc0da65e445e15a2e349b00a54 yaffs More tests added to direct/timothy_tests/quick_tests/ Signed-off-by: Timothy Manning --- 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; }