util/disk_cache: turn MESA_GLSL_CACHE_DISABLE into a boolean
[mesa.git] / src / compiler / glsl / tests / cache_test.c
index 8e7912c71b6b5fb0f554023e6bb8b1f181df45b9..75319f1160e68af421c44d531b9b9b30538d43e2 100644 (file)
@@ -156,9 +156,9 @@ test_disk_cache_create(void)
    int err;
 
    /* Before doing anything else, ensure that with
-    * MESA_GLSL_CACHE_DISABLE set, that disk_cache_create returns NULL.
+    * MESA_GLSL_CACHE_DISABLE set to true, that disk_cache_create returns NULL.
     */
-   setenv("MESA_GLSL_CACHE_DISABLE", "1", 1);
+   setenv("MESA_GLSL_CACHE_DISABLE", "true", 1);
    cache = disk_cache_create("test", "make_check", 0);
    expect_null(cache, "disk_cache_create with MESA_GLSL_CACHE_DISABLE set");