From c4191f3057ef89fb00df31cca23a6093f8f399cb Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 20 Jan 2020 23:45:19 +0100 Subject: Address @hobu 's review comment of https://github.com/OSGeo/PROJ/pull/1839#pullrequestreview-345535380 --- test/unit/proj_context_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/unit/proj_context_test.cpp') diff --git a/test/unit/proj_context_test.cpp b/test/unit/proj_context_test.cpp index ec59590d..30d6d781 100644 --- a/test/unit/proj_context_test.cpp +++ b/test/unit/proj_context_test.cpp @@ -159,18 +159,18 @@ TEST(proj_context, read_grid_from_user_writable_directory) { auto filename = path + DIR_CHAR + "temp_proj_dic3"; EXPECT_TRUE(createTmpFile(filename)); { - // Check that with PROJ_IGNORE_USER_WRITABLE_DIRECTORY=YES (set by + // Check that with PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY=YES (set by // calling script), we cannot find the file auto P = proj_create(ctx, "+init=temp_proj_dic3:MY_PIPELINE"); EXPECT_EQ(P, nullptr); proj_destroy(P); } { - // Cancel the effect of PROJ_IGNORE_USER_WRITABLE_DIRECTORY - putenv(const_cast("PROJ_IGNORE_USER_WRITABLE_DIRECTORY=")); + // Cancel the effect of PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY + putenv(const_cast("PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY=")); auto P = proj_create(ctx, "+init=temp_proj_dic3:MY_PIPELINE"); EXPECT_NE(P, nullptr); - putenv(const_cast("PROJ_IGNORE_USER_WRITABLE_DIRECTORY=YES")); + putenv(const_cast("PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY=YES")); proj_destroy(P); } proj_context_destroy(ctx); -- cgit v1.2.3