From: Graham Knop Date: Wed, 6 Nov 2013 00:00:44 +0000 (-0500) Subject: protect install test from external environment X-Git-Tag: 1.008026^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Flocal-lib.git;a=commitdiff_plain;h=a92eab5fc4ba0c71bfa8bd2ac3b7d3efc79b1b36 protect install test from external environment --- diff --git a/t/install.t b/t/install.t index 70e86f4..cbceb64 100644 --- a/t/install.t +++ b/t/install.t @@ -13,6 +13,13 @@ use lib 't/lib'; use TempDir; use local::lib (); +delete @ENV{ + 'PERL_MM_OPT', + 'PERL_MB_OPT', + 'PERL_LOCAL_LIB_ROOT', + grep /^MAKE/, keys %ENV +}; + my @dirs = ( 'plain', 'with space',