summaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-12-22 16:04:36 +0100
committerJim Meyering <meyering@redhat.com>2011-12-23 10:47:18 +0100
commite1d1c41e3a490d1bce78b0a7f33d3569ea28bcfd (patch)
tree3c74e867fc0b91a1c15d0b0d87d052333380b5dd /tests/init.sh
parent8a99731c7a527937a4422da66cac7f74099e4fcb (diff)
downloadgnulib-e1d1c41e3a490d1bce78b0a7f33d3569ea28bcfd.tar.gz
init.sh: do not emit simulated diff output to stderr
* tests/init.sh (compare_dev_null_): Print to stdout, not stderr.
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 1e1f0e3660..43f50899ba 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -242,13 +242,13 @@ compare_dev_null_ ()
if test "x$1" = x/dev/null; then
test -s "$2" || return 0
- { emit_diff_u_header_ "$@"; sed 's/^/+/' -- "$2"; } >&2
+ emit_diff_u_header_ "$@"; sed 's/^/+/' -- "$2"
return 1
fi
if test "x$2" = x/dev/null; then
test -s "$1" || return 0
- { emit_diff_u_header_ "$@"; sed 's/^/-/' -- "$1"; } >&2
+ emit_diff_u_header_ "$@"; sed 's/^/-/' -- "$1"
return 1
fi