summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2020-09-20 17:27:20 +0200
committergregor herrmann <gregoa@debian.org>2020-09-20 17:27:20 +0200
commit19c3f13d5c88ac318eb17d1a3c176610af2ad16c (patch)
treee4191fa3a131c6f1341fcd892fe3fb8acb1a80c9
parenta836b9a92c0445098da2c69ec9de2f46c775780a (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.