From: Timothy Manning Date: Wed, 17 Nov 2010 03:12:03 +0000 (+1300) Subject: yaffs Fixed some more bugs in quick tests. X-Git-Tag: linux-mainline-patchset-4~73 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=3b5f00f58cc6387ada64dd3a19c220ee1403e55e yaffs Fixed some more bugs in 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 9fcc037..a943f4d 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.c +++ b/direct/timothy_tests/quick_tests/quick_tests.c @@ -35,7 +35,10 @@ int main(int argc, char *argv[]){ print_message("\n\nrunning quick tests for yaffs\n\n", 0); for (x=0;x=0){ output=test_yaffs_write(); if (output>=0){ - return 1; + return test_yaffs_write_clean(); } else { printf("failed to write to file\n"); return -1;