diff options
Diffstat (limited to 'src/compiler/glsl/tests/cache_test.c')
-rw-r--r-- | src/compiler/glsl/tests/cache_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compiler/glsl/tests/cache_test.c b/src/compiler/glsl/tests/cache_test.c index af1b66fb3d4..3796ce61704 100644 --- a/src/compiler/glsl/tests/cache_test.c +++ b/src/compiler/glsl/tests/cache_test.c @@ -185,7 +185,8 @@ test_disk_cache_create(void) cache = disk_cache_create("test", "make_check", 0); expect_non_null(cache, "disk_cache_create with XDG_CACHE_HOME set"); - check_directories_created(CACHE_TEST_TMP "/xdg-cache-home/mesa"); + check_directories_created(CACHE_TEST_TMP "/xdg-cache-home/" + CACHE_DIR_NAME); disk_cache_destroy(cache); @@ -202,7 +203,8 @@ test_disk_cache_create(void) cache = disk_cache_create("test", "make_check", 0); expect_non_null(cache, "disk_cache_create with MESA_GLSL_CACHE_DIR set"); - check_directories_created(CACHE_TEST_TMP "/mesa-glsl-cache-dir/mesa"); + check_directories_created(CACHE_TEST_TMP "/mesa-glsl-cache-dir/" + CACHE_DIR_NAME); disk_cache_destroy(cache); } |