This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc02a5
)
Fix copyright test:
author
Sawyer X
<xsawyerx@cpan.org>
Sat, 18 Mar 2017 19:32:57 +0000
(20:32 +0100)
committer
Sawyer X
<xsawyerx@cpan.org>
Sat, 18 Mar 2017 19:36:08 +0000
(20:36 +0100)
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 ".".
t/porting/copyright.t
patch
|
blob
|
blame
|
history
diff --git
a/t/porting/copyright.t
b/t/porting/copyright.t
index
ab6226a
..
daa95f8
100644
(file)
--- 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;