yaffs Are trapping a suspeced bug in quick_tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_write.c
1 #include "test_yaffs_write.h"
2
3 int test_yaffs_write(void){
4         int handle=test_open_file();
5         if (handle>0){
6                 return yaffs_write(handle, FILE_TEXT, FILE_TEXT_NBYTES);
7         }
8         else {
9                 printf("error opening file\n");
10                 return -1;
11         }
12         
13 }
14
15 int test_yaffs_write_clean(void){
16         test_yaffs_lseek_to_beginning();
17         return 1;
18 }