From 7e77685bc35dd0217ed3c72529b2aaf8466b991d Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 21 Sep 2013 18:47:26 -0400 Subject: Portability enhancements for Mac OSX. Don't dup stdout into stderr in the test suite. Don't rely on $port_type eq "UNIX" to mean case-preserving. Check against the real output of ar when creating archives. --- tests/test_driver.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_driver.pl') diff --git a/tests/test_driver.pl b/tests/test_driver.pl index 16ae889..457341b 100644 --- a/tests/test_driver.pl +++ b/tests/test_driver.pl @@ -220,7 +220,7 @@ sub toplevel print "s" unless $total_tests_failed == 1; print " in $categories_failed Categor"; print ($categories_failed == 1 ? "y" : "ies"); - print " Failed (See .$diffext files in $workdir dir for details) :-(\n\n"; + print " Failed (See .$diffext* files in $workdir dir for details) :-(\n\n"; return 0; } else @@ -752,6 +752,7 @@ sub attach_default_output open($dup, '>&', STDOUT) or error("ado: $! duping STDOUT\n", 1); push @OUTSTACK, $dup; + $dup = undef; open($dup, '>&', STDERR) or error("ado: $! duping STDERR\n", 1); push @ERRSTACK, $dup; -- cgit v1.2.3