X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_write.c;h=336473c223ef4bdc61c4b2d971d25969de5bebeb;hp=08ff7659aee5fe0ea27a950fb82fd1fb7469776e;hb=98fdd77e12f7a14163568906da90b11f90f9f3e8;hpb=6bdb202d06f1e3dc8cc00dea708ebbd7fb771342 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_write.c b/direct/timothy_tests/quick_tests/test_yaffs_write.c index 08ff765..336473c 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_write.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_write.c @@ -13,6 +13,10 @@ int test_yaffs_write(void){ } int test_yaffs_write_clean(void){ - test_yaffs_lseek_to_beginning(); - return 1; + if (0==test_yaffs_lseek_to_beginning()){ + return 1; + } + else { + return -1; + } }