yaffs update to quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_open_file.c
diff --git a/direct/timothy_tests/quick_tests/test_open_file.c b/direct/timothy_tests/quick_tests/test_open_file.c
new file mode 100644 (file)
index 0000000..30ff102
--- /dev/null
@@ -0,0 +1,19 @@
+#include "test_open_file.h"
+#include "lib.h"
+#include "yaffsfs.h"
+
+
+
+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);
+
+       return output;
+}
+int test_open_file_clean(void){
+       return 1;
+}
+