diff options
-rw-r--r-- | test/ChangeLog | 6 | ||||
-rw-r--r-- | test/Makefile.am | 4 | ||||
-rw-r--r-- | test/Makefile.in | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 8bb20553..0c913b0c 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -3,6 +3,12 @@ * iolint.awk, iolint.ok: Remove |& test to cat. It was inherently racy. + Unrelated: + + * Makefile.am (diffout): Switch to `diff -u' since Busybox + doesn't support the old -c option. Thanks to Nelson Beebe for + the report. + 2020-10-01 Arnold D. Robbins <arnold@skeeve.com> * iolint.awk, iolint.ok: Adjust output to cat for exit status diff --git a/test/Makefile.am b/test/Makefile.am index 662fdfb6..3880c5b1 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2488,9 +2488,9 @@ diffout: echo ============== $$i ============= ; \ base=`echo $$i | sed 's/^_//'` ; \ if [ -r $${base}.ok ]; then \ - diff -c $${base}.ok $$i ; \ + diff -u $${base}.ok $$i ; \ else \ - diff -c "$(srcdir)"/$${base}.ok $$i ; \ + diff -u "$(srcdir)"/$${base}.ok $$i ; \ fi ; \ fi ; \ done | more diff --git a/test/Makefile.in b/test/Makefile.in index 9a48a003..28566ae8 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -5244,9 +5244,9 @@ diffout: echo ============== $$i ============= ; \ base=`echo $$i | sed 's/^_//'` ; \ if [ -r $${base}.ok ]; then \ - diff -c $${base}.ok $$i ; \ + diff -u $${base}.ok $$i ; \ else \ - diff -c "$(srcdir)"/$${base}.ok $$i ; \ + diff -u "$(srcdir)"/$${base}.ok $$i ; \ fi ; \ fi ; \ done | more |