From 3b5f00f58cc6387ada64dd3a19c220ee1403e55e Mon Sep 17 00:00:00 2001 From: Timothy Manning Date: Wed, 17 Nov 2010 16:12:03 +1300 Subject: [PATCH] yaffs Fixed some more bugs in quick tests. Signed-off-by: Timothy Manning --- direct/timothy_tests/quick_tests/quick_tests.c | 7 +++++-- direct/timothy_tests/quick_tests/quick_tests.h | 2 +- .../timothy_tests/quick_tests/test_yaffs_write_big_file.c | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) 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; -- 2.30.2