Fix output redirection buglet in init.sh.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 23 May 2010 08:05:31 +0000 (10:05 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 23 May 2010 08:05:31 +0000 (10:05 +0200)
* tests/init.sh: Fix redirection of stderr.

ChangeLog
tests/init.sh

index 399b2a8..d281ea6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix output redirection buglet in init.sh.
+       * tests/init.sh: Fix redirection of stderr.
+
 2010-05-20  Simon Josefsson  <simon@josefsson.org>
 
        * modules/valgrind-tests (configure.ac): Invoke gl_VALGRIND_TESTS.
index e23aa54..ef0957c 100644 (file)
@@ -143,9 +143,9 @@ framework_failure_() { warn_ "$ME_: set-up failure: $@"; Exit 1; }
 # a partition, or to undo any other global state changes.
 cleanup_() { :; }
 
-if ( diff --version < /dev/null 2>&1 | grep GNU ) 2>&1 > /dev/null; then
+if ( diff --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
   compare() { diff -u "$@"; }
-elif ( cmp --version < /dev/null 2>&1 | grep GNU ) 2>&1 > /dev/null; then
+elif ( cmp --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
   compare() { cmp -s "$@"; }
 else
   compare() { cmp "$@"; }