From d7615b2df06548d7454ab3ad1a309b475900ab4b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 15 Oct 2016 20:37:24 +0100 Subject: Test suite: unset empty redacted paths Some programs might treat that as a path of implicitly ".". Signed-off-by: Ian Jackson --- tests/tstunt/dpkg-parsechangelog | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/tstunt') diff --git a/tests/tstunt/dpkg-parsechangelog b/tests/tstunt/dpkg-parsechangelog index 4d7cdf8..436591f 100755 --- a/tests/tstunt/dpkg-parsechangelog +++ b/tests/tstunt/dpkg-parsechangelog @@ -32,6 +32,7 @@ if (@ARGV) { my @npath = grep { $_ ne $strip } @opath; @npath != @opath or die "$0 $k ".($ENV{$k}//"(undef)")." ?"; $ENV{$k} = join ':', @npath; + delete $ENV{$k} if !@npath; } die if $ENV{'DGIT_NO_TSTUNT_CLPARSE'}++; exec 'dpkg-parsechangelog', @orgargv; -- cgit v1.2.3