yaffs Adding new tests to direct/timothy_tests/quicktests/
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_truncate_ENOTDIR.c
index d8ef1555905b6204b9f66c7bcd1428e28dc479b3..0263ca1d6d16285e1824dc8c42f6f331d8aea46d 100644 (file)
@@ -21,7 +21,7 @@ int test_yaffs_truncate_ENOTDIR(void)
        int output=0;
 
 
        int output=0;
 
 
-       output= yaffs_truncate("/non_existing_dir/foo",FILE_SIZE_TRUNCATED );
+       output= yaffs_truncate("/yaffs2/foo/file",FILE_SIZE_TRUNCATED );
        if (output<0){
                error=yaffs_get_error();
                if (abs(error)==ENOTDIR){
        if (output<0){
                error=yaffs_get_error();
                if (abs(error)==ENOTDIR){