summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2019-11-02 04:04:17 +0100
committergregor herrmann <gregoa@debian.org>2019-11-02 04:04:17 +0100
commiteea22428316b0ece7626fe960a6d2d8eb350bf4f (patch)
tree27843faeda6810e609828af5c5a3daf9019d5bcb
parent61b1e629347cc6e7d3ed08ce7bacf8b4e8419a1e (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.