Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 17 Jul 2005 14:17:50 -0700 From: Michael G Schwern To: "Gerrit P. Haase" Cc: Andrew Ho , cygwin AT cygwin DOT com, makemaker AT perl DOT org, perl5-porters AT perl DOT org, petdance AT cpan DOT org Subject: Re: [perl-5.8.7] Perl regression tests fail when lib directory is present Message-ID: <20050717211750.GA6411@windhund.schwern.org> References: <42D8D5F3 DOT 9060307 AT familiehaase DOT de> <42DA398D DOT 60802 AT familiehaase DOT de> <20050717195041 DOT GC5605 AT windhund DOT schwern DOT org> <42DAC1E9 DOT 2080402 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42DAC1E9.2080402@familiehaase.de> User-Agent: Mutt/1.4.2.1i On Sun, Jul 17, 2005 at 10:39:05PM +0200, Gerrit P. Haase wrote: > >Hmm. That's very strange. Particularly the oscilating nature. The reason > >its failing only when in lib/ is because '.' is in @INC so it can find > >the module. If you run the tests under taint mode (which removes the .) > >they should fail. > > Simply running the command with -t, like so: > /usr/bin/perl.exe -t "-MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > > or is this not the right way to activate taint mode? Full on taint mode is -T and -t is just warnings. Anyhow, it serves the purpose. > $ /usr/bin/perl.exe -t "-MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib/lib', 'blib/arch')" t/*.t > [...] > t/test5....Insecure dependency in `` while running with -t switch at > /usr/lib/perl5/5.8/Test/Harness/Straps.pm line 478. Oh yeah, TH isn't taint safe. Nevermind. -- Michael G Schwern schwern AT pobox DOT com http://www.pobox.com/~schwern 'All anyone gets in a mirror is themselves,' she said. 'But what you gets in a good gumbo is everything.' -- "Witches Abroad" by Terry Prachett -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/