summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/mech-dump/file_not_found.t1
-rw-r--r--t/mech-dump/mech-dump.t1
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 =~ /^(.+)$/;