summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2020-01-24 18:57:24 +0100
committergregor herrmann <gregoa@debian.org>2020-01-24 18:57:24 +0100
commit0bb6e73fd7c4ee6cdcb753673f217d8f5cb962cd (patch)
tree5f59965ec271add50807ac3979ac5fa959f17238
parentd5c8eab28e23506921ccd4c29e7243b13e05015f (diff)
add /usr/bin to "search path" for timed-process script.archive/debian/1.21-1
Origin: vendor Forwarded: not needed Last-Update: 2018-07-09 During build, bin/timed-process.PL is converted to bin/timed-process which is then used during tests. During autopkgtests, this conversions doesn't happen, and we want to test the installed script in /usr/bin anyway. Gbp-Pq: Name autopkgtest.patch
-rw-r--r--t/01proc.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/01proc.t b/t/01proc.t
index f34a59a..ed3b980 100644
--- a/t/01proc.t
+++ b/t/01proc.t
@@ -42,7 +42,7 @@ $lib or die "Cannot find lib directory.\n";
# sleep time and a command to run.
my $sleep_exit;
my $timed_process;
-foreach my $dir (qw(. ./bin ./t ../bin ../t Proc-Background/t)) {
+foreach my $dir (qw(. ./bin ./t ../bin ../t Proc-Background/t /usr/bin)) {
unless ($sleep_exit) {
my $s = "$dir/sleep_exit.pl";
$sleep_exit = $s if -r $s;