timothy-tests: Fix paths for wrongly failing tests
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_rename_ENOTDIR.c
index 210a08bafe5a33392d69176e16bdafde961d05e8..08ad89e2f8e877f76cd892bfb23cf32d8f0a3fa9 100644 (file)
@@ -29,7 +29,7 @@ int test_yaffs_rename_ENOTDIR(void)
                        return -1;
                }
        }
-       output = yaffs_rename("yaffs2/test_dir/foo/file" , RENAME_PATH);
+       output = yaffs_rename(FILE_PATH "/file" , RENAME_PATH);
        if (output<0){ 
                error_code=yaffs_get_error();
                if (abs(error_code)==ENOTDIR){