]> Savannah Git Hosting - gnulib.git/commitdiff
test-version-etc.sh: port to diff without -c
authorJim Meyering <meyering@fb.com>
Fri, 23 Mar 2018 23:46:13 +0000 (16:46 -0700)
committerJim Meyering <meyering@fb.com>
Fri, 23 Mar 2018 23:46:28 +0000 (16:46 -0700)
* tests/test-version-etc.sh: Don't use diff's -c option.
This caused spurious test failure on Alpine Linux, which
uses busybox's diff. Reported by Assaf Gordon in
https://lists.gnu.org/r/sed-devel/2018-03/msg00013.html

ChangeLog
tests/test-version-etc.sh

index 9839555c713471ac2994c46cd6b2717e0699e8bf..20cd7cd53d678b008c6e3c88e685613808354d3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-03-23  Jim Meyering  <meyering@fb.com>
+
+       test-version-etc.sh: port to diff without -c
+       * tests/test-version-etc.sh: Don't use diff's -c option.
+       This caused spurious test failure on Alpine Linux, which
+       uses busybox's diff. Reported by Assaf Gordon in
+       https://lists.gnu.org/r/sed-devel/2018-03/msg00013.html
+
 2018-03-23  Paul Eggert  <eggert@cs.ucla.edu>
 
        c-stack: port to recent GCC build
index c197730af50d83233ec7977c2d804529617f1511..0b1f5be1fc68fdf38d4ed3c434764cd0f9ae8d9c 100755 (executable)
@@ -36,7 +36,7 @@ EOT
       /^Packaged by/d
       2,3 s/Copyright (C) [0-9]\{4,4\}/COPYRIGHT/' |
  tr -d '\015' |
- diff -c $TMP - || ERR=1
+ diff $TMP - || ERR=1
 
 rm $TMP