1 #include "test_yaffs_open_file_ENOENT.h"
4 int test_yaffs_open_file_ENOENT(void){
7 /*printf("path %s\n",path); */
8 handle=yaffs_open("/yaffs2/non_existant_file", O_TRUNC| O_RDWR,FILE_MODE );
10 error_code=yaffs_get_error();
11 if (error_code==ENOENT){
16 printf("non existant file opened.(which is a bad thing)\n");
21 int test_yaffs_open_file_ENOENT_clean(void){