summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2022-08-01 19:21:58 +0200
committergregor herrmann <gregoa@debian.org>2022-08-01 19:21:58 +0200
commitc081579ba7bf7d8b40f9d1dc46b81324859c351a (patch)
tree28fea374141c4328f1a30d9916729b3d3ba731db
parent5aebcfa8a1744a198d04eee3c2c15fa76bd41018 (diff)
update path to mech-dump script during autopkgtest
Origin: vendor Forwarded: not-needed Last-Update: 2019-11-02 Gbp-Pq: Name autopkgtest.patch
-rw-r--r--t/mech-dump/mech-dump.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/mech-dump/mech-dump.t b/t/mech-dump/mech-dump.t
index 3c47f44..b1e0495 100644
--- a/t/mech-dump/mech-dump.t
+++ b/t/mech-dump/mech-dump.t
@@ -18,6 +18,7 @@ my $exe = File::Spec->catfile( qw( script mech-dump ) );
if ( $^O eq 'VMS' ) {
$exe = qq[mcr $^X -Ilib $exe];
}
+$exe = '/usr/bin/mech-dump' if $ENV{AUTOPKGTEST_TMP};
# Simply use a file: uri instead of the filename to make this test
# more independent of what URI::* thinks.