timothy-tests: Change mountpoint names to match test framework
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_chmod_ENOTDIR.c
index 86155b20e70aec2907d28f3a21fd86286a9073d3..ad0d1cffb825be724b4c3c101c4a4d0c39321b22 100644 (file)
@@ -20,7 +20,7 @@ int test_yaffs_chmod_ENOTDIR(void)
                print_message("failed to create file\n",1);
                return -1;
        }
-       int output=yaffs_chmod("/yaffs2/test_dir/foo/file",S_IREAD|S_IWRITE);
+       int output=yaffs_chmod(YAFFS_MOUNT_POINT "/test_dir/foo/file",S_IREAD|S_IWRITE);
 
        if (output<0){
                error=yaffs_get_error();