From b057ad118a14ea2e8f9bc483eaf636e84b25c4be Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Thu, 20 Oct 2016 16:53:32 +0200 Subject: [PATCH] Testsuite: use /usr/bin/env perl to get Perl from $PATH Some buildfarm animals may have more recent versions of Perl installed in some directory accessable via $PATH. So we don't hardwire /usr/bin/perl. (e.g. verily) --- test/runtest | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/runtest b/test/runtest index bdba26fc9..62281656d 100755 --- a/test/runtest +++ b/test/runtest @@ -1,4 +1,6 @@ -#! /usr/bin/perl -w +#! /usr/bin/env perl +# We use env, because in some environments of our build farm +# the Perl 5.010 interpreter is only reachable via $PATH ############################################################################### # This is the controlling script for the "new" test suite for Exim. It should # @@ -14,7 +16,9 @@ ############################################################################### #use strict; -#use 5.010; +use 5.010; +use warnings; + use Errno; use FileHandle; use IO::Socket::INET; -- 2.25.1