1 #include "test_yaffs_write.h"
3 int test_yaffs_read(void){
4 int handle=test_open_file();
8 output=yaffs_read(handle, text, FILE_TEXT_NBYTES);
14 printf("text does not match the the text that should be in the file\n");
18 printf("error reading file");
22 printf("error opening file\n");
28 int test_yaffs_read_clean(void){
29 /* need to reset the seek position*/
31 return test_yaffs_lseek_to_beginning();