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` ];
 }
