yaffs Adding more error code test programs to quick tests. note the bugs are still...
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_write.c
index 602afd52545561c635286c3a6fe854dc410e74dc..adfd2bfccbb4f550b085fecb85cb3583b5ec0b70 100644 (file)
@@ -2,7 +2,7 @@
 
 static int handle=0;
 int test_yaffs_write(void){
 
 static int handle=0;
 int test_yaffs_write(void){
-       handle=test_yaffs_open_file();
+       handle=test_yaffs_open();
        if (handle>0){
                return yaffs_write(handle, FILE_TEXT, FILE_TEXT_NBYTES);
        }
        if (handle>0){
                return yaffs_write(handle, FILE_TEXT, FILE_TEXT_NBYTES);
        }