summaryrefslogtreecommitdiff
path: root/scripts/t/mk.t
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-09-15 21:52:42 +0200
committerGuillem Jover <guillem@debian.org>2015-09-17 04:26:09 +0200
commitb83c018366b00a804b34598234b7df1bcdeec832 (patch)
tree6cd3f1740b89d31a79812dca9e32526ffb2866c9 /scripts/t/mk.t
parentbe89151850c2cd592bd676810ebf2a3ea4122d3d (diff)
downloaddpkg-b83c018366b00a804b34598234b7df1bcdeec832.tar.gz
t: Filter out any environment variable starting with DEB_ in mk.t
These might affect the test results, and make them fail.
Diffstat (limited to 'scripts/t/mk.t')
-rw-r--r--scripts/t/mk.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/t/mk.t b/scripts/t/mk.t
index 6be5a019c..04f88a792 100644
--- a/scripts/t/mk.t
+++ b/scripts/t/mk.t
@@ -31,7 +31,7 @@ my $datadir = "$srcdir/t/mk";
$ENV{$_} = rel2abs($ENV{$_}) foreach qw(srcdir DPKG_DATADIR DPKG_ORIGINS_DIR);
# Delete variables that can affect the tests.
-delete $ENV{DEB_VENDOR};
+delete $ENV{$_} foreach grep { m/^DEB_/ } keys %ENV;
sub test_makefile {
my $makefile = shift;