File: autopkgtest.patch

package info (click to toggle)
libfile-find-object-rule-perl 0.0309-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 332 kB
  • sloc: perl: 1,350; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 442 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix path to installed script when run under autopkgtest
Origin: vendor
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2018-06-19

--- a/t/findorule.t
+++ b/t/findorule.t
@@ -94,6 +94,7 @@
     my $script = File::Spec->catfile(
         File::Spec->curdir(), "bin", "findorule"
     );
+    $script = '/usr/bin/findorule' if $ENV{ADTTMP};
 
     [ sort split /\n/, `$^X -Mblib $script $expr` ];
 }