t/TEST shouldn't use -M options until we've tested that they work.
authorNicholas Clark <nick@ccl4.org>
Wed, 26 Aug 2009 18:06:55 +0000 (19:06 +0100)
committerNicholas Clark <nick@ccl4.org>
Wed, 26 Aug 2009 18:06:55 +0000 (19:06 +0100)
commit5ed59b83dc91aee603f670bf9534221f120fa934
treef2a6315d74588798d8287c97e31517ea428d3fb6
parente447daf9e3940e576dd6b0451030ca27007189d9
t/TEST shouldn't use -M options until we've tested that they work.

Also, t/TEST doesn't need to set $ENV{PERL_CORE} as t/TestInit.pm does this.
t/TestInit.pm should also add '.' to @INC (except under tainting) to correctly
emulate the include path of this perl binary once it and its libraries are
installed.

Fix t/run/cloexec.t to not rely on -I../lib being passed as a command-line
arguments. t/run/*.t *test* that command line arguments work, so they can't
be called with command line arguments that are mandatory for them to work.
t/TEST
t/TestInit.pm
t/run/cloexec.t