- printf("yaffs_test_read output: %d\n",output);
- printf("text in file is: %s\n",text);
- if (output>0){
- if (text==FILE_TEXT){
- return 1;
- }
- else {
- printf("returned text does not match the the expected text that should be in the file\n");
- return -1;
- }
- }
- else{
- printf("error reading file\n");