diff options
author | gregor herrmann <gregoa@debian.org> | 2023-02-14 19:25:20 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2023-02-14 19:25:20 +0100 |
commit | 350f021304d9fd4ce9f80b30a04cb4be38eff527 (patch) | |
tree | 12499283d9fd8cbd62bec6c5cd749b5f96b00769 | |
parent | 9bfa117a72eb57ff337d9c729f9c6399bbdc1530 (diff) |
update path to mech-dump script during autopkgtest
Origin: vendor
Forwarded: not-needed
Last-Update: 2022-08-26
Gbp-Pq: Name autopkgtest.patch
-rw-r--r-- | t/mech-dump/file_not_found.t | 1 | ||||
-rw-r--r-- | t/mech-dump/mech-dump.t | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/t/mech-dump/file_not_found.t b/t/mech-dump/file_not_found.t index 90b0587..97b6abe 100644 --- a/t/mech-dump/file_not_found.t +++ b/t/mech-dump/file_not_found.t @@ -19,6 +19,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}; my $perl; $perl = $1 if $^X =~ /^(.+)$/; diff --git a/t/mech-dump/mech-dump.t b/t/mech-dump/mech-dump.t index c85308f..39f28ff 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}; my $perl; $perl = $1 if $^X =~ /^(.+)$/; |