File: autopkgtest.patch

package info (click to toggle)
libwww-mechanize-perl 2.03-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 988 kB
  • sloc: perl: 4,088; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 478 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: update path to mech-dump script during autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2019-11-02

--- a/t/mech-dump/mech-dump.t
+++ b/t/mech-dump/mech-dump.t
@@ -18,6 +18,7 @@
 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.