yaffs Found and fixed the bugs in quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_lseek.c
index 5e063eff5c2b5c883f7d6613e7f855098481c2cb..588635ebb485e92b81ed91e77f5fe8779660ee1e 100644 (file)
@@ -18,7 +18,7 @@ int test_yaffs_lseek(void){
        handle=test_yaffs_open();
        char text[20]="\0";
        int output=0;
-       if (handle>0){
+       if (handle>=0){
                if (0==yaffs_lseek(handle, 0, SEEK_SET)){
                        return 1;
                }