summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2021-08-24 11:45:00 +0200
committerFlorian Schlichting <fsfs@debian.org>2021-08-24 11:45:00 +0200
commit696b43d7b3fcbe0f4fc5c0428996e2fb83c0c3d0 (patch)
treeb0212a8a8ff8cf599b24d3beb3c18b9fb2950ce8
parent1af54b004c9d789dfdb6c2599d618fc948cf3ec3 (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 bff4710..635ece8 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.