summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-09-02 14:16:04 +0200
committerJim Meyering <meyering@redhat.com>2011-09-02 14:16:04 +0200
commite2ed9d279b1a9933a4225a1c952aa5c9d50b4c69 (patch)
treeac1f49fba3ec6a9dcc0dfb58e6449f9d7eb11f31 /tests
parent783eca9655c2bdcae547b290909493c0a16bf598 (diff)
downloaddiffutils-e2ed9d279b1a9933a4225a1c952aa5c9d50b4c69.tar.gz
build: update bootstrap and tests/init.sh from gnulib
* bootstrap: Update from gnulib. * tests/init.sh: Likewise.
Diffstat (limited to 'tests')
-rw-r--r--tests/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 0da6c1e..d3fb28c 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -208,7 +208,7 @@ export MALLOC_PERTURB_
# a partition, or to undo any other global state changes.
cleanup_ () { :; }
-if ( diff --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
+if ( diff -u "$0" "$0" < /dev/null ) > /dev/null 2>&1; then
compare () { diff -u "$@"; }
elif ( cmp --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then
compare () { cmp -s "$@"; }