Mercurial > hg > octave-lyh > gnulib-hg
changeset 13362:675b7e853696
Fix output redirection buglet in init.sh.
* tests/init.sh: Fix redirection of stderr.
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
---|---|
date | Sun, 23 May 2010 10:05:31 +0200 |
parents | d30d89548827 |
children | 282cf4393ce3 |
files | ChangeLog tests/init.sh |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/tests/init.sh +++ b/tests/init.sh @@ -143,9 +143,9 @@ # 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 "$@"; }