yaffs Are trapping a suspeced bug in quick_tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_open_file.c
index 30ff1020e7637e781d3e468daa56dc9ca4c36355..75a5f8c110adb633ac1f899b1c245abb111c2cb0 100644 (file)
@@ -9,7 +9,7 @@ int test_open_file(void){
        int output=0;
 
        /*printf("path %s\n",path); */
-       output=yaffs_open(FILE_PATH,O_CREAT | O_TRUNC| O_RDWR, S_IREAD | S_IWRITE);
+       output=yaffs_open(FILE_PATH,O_CREAT | O_TRUNC| O_RDWR, FILE_MODE);
 
        return output;
 }