In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/025582ba60c1f6f9dd83ddb289c4d00a987b0803?hp=acc02a5d06e8f2309b057b7d2cc4c42603886a0b>
- Log ----------------------------------------------------------------- commit 025582ba60c1f6f9dd83ddb289c4d00a987b0803 Author: Sawyer X <[email protected]> Date: Sat Mar 18 20:32:57 2017 +0100 Fix copyright test: Other tests are run from t/ and so they add ".." to @INC, but this test runs from the main dir, so it needs to add ".". ----------------------------------------------------------------------- Summary of changes: t/porting/copyright.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/porting/copyright.t b/t/porting/copyright.t index ab6226acb2..daa95f806e 100644 --- a/t/porting/copyright.t +++ b/t/porting/copyright.t @@ -18,7 +18,9 @@ working on older releases. It should be run before making a new release. =cut - +BEGIN { + unshift @INC, '.' if -f 'TestInit.pm'; +} use TestInit; use strict; use Config; -- Perl5 Master Repository
