diff options
-rwxr-xr-x | tests/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh index d36620610..ed640f32c 100755 --- a/tests/init.sh +++ b/tests/init.sh @@ -327,7 +327,7 @@ elif diff_out_=`exec 2>/dev/null; diff -c "$0" "$0" < /dev/null`; then fi } fi -elif ( cmp --version < /dev/null 2>&1 | grep GNU ) > /dev/null 2>&1; then +elif cmp -s /dev/null /dev/null 2>/dev/null; then compare_ () { cmp -s "$@"; } else compare_ () { cmp "$@"; } |