X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftest-framework%2Ftimothy_tests%2Fhandle_tests%2Fhandle_test.c;h=ed721fbfab628e402fbb37f1755206d0bd9c1007;hb=b672d46fe8d9f68bc6b5690424a29a595fb7608e;hp=b27f2af742798863a7b27177b3ec92eecf17734c;hpb=794059997ab24f0ca4cab7587325da4bd9ddb108;p=yaffs2.git diff --git a/direct/test-framework/timothy_tests/handle_tests/handle_test.c b/direct/test-framework/timothy_tests/handle_tests/handle_test.c index b27f2af..ed721fb 100644 --- a/direct/test-framework/timothy_tests/handle_tests/handle_test.c +++ b/direct/test-framework/timothy_tests/handle_tests/handle_test.c @@ -22,7 +22,7 @@ int main() int output =0; unsigned int total_number_of_tests_run=0; yaffs_start_up(); - yaffs_mount("yaffs2"); + yaffs_mount(YAFFS_MOUNT_POINT); printf("running tests\n"); @@ -62,7 +62,7 @@ int dup_test(void){ output=yaffs_lseek(handle,20,SEEK_SET); if (output >= 0) { output = yaffs_lseek(handle,0,SEEK_CUR); - if (output = 20){ + if (output == 20){ printf("dup is working\n"); return 1; } else if (output <0){