diff options
author | Paul Smith <psmith@gnu.org> | 2013-09-21 18:47:26 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-09-22 17:09:46 -0400 |
commit | 7e77685bc35dd0217ed3c72529b2aaf8466b991d (patch) | |
tree | 879e32605bce5c98f823739b522d84b2ff61a3b6 /tests/test_driver.pl | |
parent | 300d1296fb0f8f1b6bd16f977e2167442338343d (diff) | |
download | gunmake-7e77685bc35dd0217ed3c72529b2aaf8466b991d.tar.gz |
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.
Diffstat (limited to 'tests/test_driver.pl')
-rw-r--r-- | tests/test_driver.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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; |