From: Heiko Schlittermann (HS12-RIPE) Date: Thu, 20 Oct 2016 14:53:32 +0000 (+0200) Subject: Testsuite: use /usr/bin/env perl to get Perl from $PATH X-Git-Tag: exim-4_88_RC3~11 X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=commitdiff_plain;h=b057ad118a14ea2e8f9bc483eaf636e84b25c4be 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) --- 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;