X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_open_file.c;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_open_file.c;h=30ff1020e7637e781d3e468daa56dc9ca4c36355;hp=0000000000000000000000000000000000000000;hb=26592c53da98ac887099559afbcb8dda05264e1c;hpb=10fffbf6cc8a96cb9b3b9164c668202010e37faa 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 index 0000000..30ff102 --- /dev/null +++ b/direct/timothy_tests/quick_tests/test_open_file.c @@ -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; +} +