You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2018/02/08 15:30:28 UTC
[4/4] lucy git commit: Run Travis tests with PERL_USE_UNSAFE_INC=0
Run Travis tests with PERL_USE_UNSAFE_INC=0
This makes sure that Test::Harness doesn't set PERL_USE_UNSAFE_INC to 1
and that the tests are actually run without . in @INC.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/d09e6d27
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/d09e6d27
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/d09e6d27
Branch: refs/heads/master
Commit: d09e6d27692d105182241c6788fb6907789ec492
Parents: a1a61b7
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Feb 8 13:34:41 2018 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Feb 8 16:07:13 2018 +0100
----------------------------------------------------------------------
devel/bin/travis-test.sh | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/d09e6d27/devel/bin/travis-test.sh
----------------------------------------------------------------------
diff --git a/devel/bin/travis-test.sh b/devel/bin/travis-test.sh
index bb7ce13..0927a29 100755
--- a/devel/bin/travis-test.sh
+++ b/devel/bin/travis-test.sh
@@ -45,6 +45,9 @@ test_c() {
}
test_perl() {
+ # Test::Harness defaults to PERL_USE_UNSAFE_INC=1
+ export PERL_USE_UNSAFE_INC=0
+
source ~/perl5/perlbrew/etc/bashrc
perlbrew switch $PERL_VERSION
perlbrew list