Skip Menu |

This queue is for tickets about the Test-Unit CPAN distribution.

Report information
The Basics
Id: 14469
Status: resolved
Priority: 0/
Queue: Test-Unit

People
Owner: mca1001 [...] users.sourceforge.net
Requestors: frederic [...] scmbb.ulb.ac.be
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.24
Fixed in: (no value)



Subject: OS Test name for error redirection detection does not take in account Mac OS X.
$ uname -mrsv Darwin 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/ $ perl -e 'print $^O' && echo darwin The line 78 of the file 't/try_examples.t': warn "There might be problems with error redirection undef $^O" if grep { $^O =~ $_ } ( qr/win/i ); Does not take in account the "darwin" os name. Could you please fix this? Thanks.
I've removed that $^O check from t/try_examples.t and replaced it with # We used to warn about OSes that might not be able to do 2>&1 # redirection, but # a) if we get problems the tests will fail, so we fix it then # b) tests passed fine on "MSWin32 4.0" for REL_0_25 in the CVS HEAD version. It wasn't adding anything and there's not much point having a warning in there anyway. I won't hold the bug open until the next release because it doesn't stop anything working it's just a bit misleading. Thanks,