From: Jim Meyering Date: Sat, 4 Jul 1998 17:08:26 +0000 (+0000) Subject: Use cmp, not diff. X-Git-Tag: FILEUTILS-3_16s~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3b675ea8ccf46687d5cf4dcd4ef6c4815fdd9d;p=thirdparty%2Fcoreutils.git Use cmp, not diff. Reported by Kaveh Ghazi. --- diff --git a/tests/mv/backup-is-src b/tests/mv/backup-is-src index 896465f7e7..6c1429eafd 100755 --- a/tests/mv/backup-is-src +++ b/tests/mv/backup-is-src @@ -49,7 +49,7 @@ cat > exp <<\EOF XXX: backing up `YYY' would destroy source; `ZZZ' not moved EOF -diff -u out2 exp || fail=1 +cmp out2 exp || fail=1 $RM -fr out out2 exp $a $a2 $other_partition_tmpdir