projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix output redirection buglet in init.sh.
[gnulib.git]
/
tests
/
init.sh
diff --git
a/tests/init.sh
b/tests/init.sh
index
e23aa54
..
ef0957c
100644
(file)
--- 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_() { :; }
# 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 "$@"; }
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 "$@"; }
compare() { cmp -s "$@"; }
else
compare() { cmp "$@"; }