diff options
author | Father Chrysostomos <sprout@cpan.org> | 2014-08-31 22:32:58 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-09-02 20:11:14 -0700 |
commit | d27877a4d3782123828808d0bd8c5efc5accb08f (patch) | |
tree | 8ba21560a9af7d0790d874a1afa7349de51ee567 /t/op/taint.t | |
parent | f537e6f54257418a24f0faffb5985830eb7e6893 (diff) | |
download | perl-d27877a4d3782123828808d0bd8c5efc5accb08f.tar.gz |
Get taint.t working under minitest
minitest can run before everything is built. Hence, we need to make sure
the directories that buildcustomize.pl puts in @INC are not clobbered by
the test script.
Diffstat (limited to 't/op/taint.t')
-rw-r--r-- | t/op/taint.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/op/taint.t b/t/op/taint.t index 6ec66cec9e..1c23c767bd 100644 --- a/t/op/taint.t +++ b/t/op/taint.t @@ -9,8 +9,9 @@ BEGIN { chdir 't' if -d 't'; - @INC = '../lib'; require './test.pl'; + @INC = () unless is_miniperl(); + unshift @INC, '../lib'; } use strict; |