]> Savannah Git Hosting - gnulib.git/commitdiff
init.sh: do not emit simulated diff output to stderr
authorJim Meyering <meyering@redhat.com>
Thu, 22 Dec 2011 15:04:36 +0000 (16:04 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 23 Dec 2011 09:47:18 +0000 (10:47 +0100)
* tests/init.sh (compare_dev_null_): Print to stdout, not stderr.

ChangeLog
tests/init.sh

index e673fe010cd50588c17af970b96eed0e8f2428df..5545a2c5365423f3cac9d58f0bcd0064fa833d2e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-22  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: do not emit simulated diff output to stderr
+       * tests/init.sh (compare_dev_null_): Print to stdout, not stderr.
+
 2011-12-22  Reuben Thomas  <rrt@sc3d.org>
 
        .gitignore: ignore gnulib.dvi and regex.info
index 1e1f0e3660a09ff0ebbcadcbe716c385ef252b8c..43f50899ba3ad36f7983be489d11b3cfedc82390 100644 (file)
@@ -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