From: Timothy Manning Date: Mon, 15 Nov 2010 02:11:37 +0000 (+1300) Subject: yaffs Merging changes made to quick tests. X-Git-Tag: linux-mainline-patchset-4~96 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=129c903587142a48f089b02a9309dab746d8a2c9 yaffs Merging changes made to quick tests. Signed-off-by: Timothy Manning --- diff --git a/direct/timothy_tests/quick_tests/quick_tests.c b/direct/timothy_tests/quick_tests/quick_tests.c index a58fc08..fcf312d 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.c +++ b/direct/timothy_tests/quick_tests/quick_tests.c @@ -91,7 +91,7 @@ void quit_quick_tests(int exit_code) if (num_of_tests_pass==total_number_of_tests && num_of_tests_failed==0){ printf("\t OK \n"); } - printf("tests: %d passed %d failed out of %d tests\n\n\n",num_of_tests_pass,num_of_tests_failed,total_number_of_tests); + printf("out of %d tests: %d passed %d failed\n\n\n",total_number_of_tests,num_of_tests_pass,num_of_tests_failed); yaffs_unmount(YAFFS_MOUNT_POINT); exit(exit_code); } diff --git a/direct/timothy_tests/quick_tests/test_yaffs_close_EBADF.c b/direct/timothy_tests/quick_tests/test_yaffs_close_EBADF.c index 1c83019..7a0184d 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_close_EBADF.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_close_EBADF.c @@ -15,7 +15,7 @@ #include "test_yaffs_open.h" -static int handle = 0; +static int handle = -1; int test_yaffs_close_EBADF(void) { diff --git a/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c b/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c index 0a521b8..9e19636 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_fchmod_EBADF.c @@ -40,5 +40,4 @@ int test_yaffs_fchmod_EBADF(void) int test_yaffs_fchmod_EBADF_clean(void) { return 1; - }