From 16b34ac99b135d6cd6c8c2cf1e277ee3b867d9ac Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 23 May 2010 10:05:31 +0200 Subject: [PATCH] Fix output redirection buglet in init.sh. * tests/init.sh: Fix redirection of stderr. --- ChangeLog | 5 +++++ tests/init.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 399b2a8475..d281ea6054 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-23 Ralf Wildenhues + + Fix output redirection buglet in init.sh. + * tests/init.sh: Fix redirection of stderr. + 2010-05-20 Simon Josefsson * modules/valgrind-tests (configure.ac): Invoke gl_VALGRIND_TESTS. diff --git a/tests/init.sh b/tests/init.sh index e23aa54be1..ef0957c1d8 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -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 "$@"; } -- 2.30.2