summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2020-05-18 18:56:09 +0200
committergregor herrmann <gregoa@debian.org>2020-05-18 18:56:09 +0200
commit1dc4fdd06cb6aa0dd69be6ae6ea686ccd5aa9396 (patch)
treeddf8b1a627ddb98f90c1ee620a59df0c08745261
parent5b7c9f9d297e0f5ee1f650620417e366317e8814 (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 247a07b..b64df8a 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.