yaffs Still chasing the bug.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_write.c
index 08ff7659aee5fe0ea27a950fb82fd1fb7469776e..336473c223ef4bdc61c4b2d971d25969de5bebeb 100644 (file)
@@ -13,6 +13,10 @@ int test_yaffs_write(void){
 }
 
 int test_yaffs_write_clean(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;
+       }
 }
 }