timothy-tests: Change mountpoint names to match test framework
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_link_ENOTDIR.c
index 0d54023a44143a7ee84937fcd89d4dba1248d74d..bf666ddbec2d205fae2777a4a2f976afe890769e 100644 (file)
@@ -23,7 +23,7 @@ int test_yaffs_link_ENOTDIR(void)
                print_message("failed to create file\n",1);
                return -1;
        }
-       output = yaffs_link("/yaffs2/test_dir/foo/file",HARD_LINK_PATH);
+       output = yaffs_link(YAFFS_MOUNT_POINT "/test_dir/foo/file",HARD_LINK_PATH);
        if (output<0){
                error=yaffs_get_error();
                if (abs(error)==ENOTDIR){