timothy-tests: Change mountpoint names to match test framework
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_truncate_ENOTDIR.c
index ce621a0cf83ee7427591043bd52b19698d309227..22555ad902b6d62ab42d711fe42927c5284444fb 100644 (file)
@@ -24,7 +24,7 @@ int test_yaffs_truncate_ENOTDIR(void)
                return -1;
        }
 
                return -1;
        }
 
-       output= yaffs_truncate("/yaffs2/test_dir/foo/file",FILE_SIZE_TRUNCATED );
+       output= yaffs_truncate(YAFFS_MOUNT_POINT "/test_dir/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){