]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/indexlevels-mirror-v1: localize ENV change
authorEric Wong <e@yhbt.net>
Sun, 2 Aug 2020 07:55:23 +0000 (07:55 +0000)
committerEric Wong <e@yhbt.net>
Mon, 3 Aug 2020 04:29:02 +0000 (04:29 +0000)
We don't want ENV changes propagated to other tests
when using t/run.perl via "make check-run"

t/indexlevels-mirror-v1.t

index b6593319c61fb24e67ed1ad0fd6e07ae3bf4d2c1..adcc93fd2fa089911847d136d121eb431153b33d 100644 (file)
@@ -1,4 +1,4 @@
 # Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
-$ENV{PI_TEST_VERSION} = 1;
+local $ENV{PI_TEST_VERSION} = 1;
 require './t/indexlevels-mirror.t';