summaryrefslogtreecommitdiff
path: root/tests/mv/backup-is-src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-04 17:08:26 +0000
committerJim Meyering <jim@meyering.net>1998-07-04 17:08:26 +0000
commit6e3b675ea8ccf46687d5cf4dcd4ef6c4815fdd9d (patch)
treeccf55cda2d00be3eea5da7270c2c137b0d108689 /tests/mv/backup-is-src
parent95efa0587bd2a18260e2ce3e35b412d0ad3b508f (diff)
downloadcoreutils-6e3b675ea8ccf46687d5cf4dcd4ef6c4815fdd9d.tar.xz
Use cmp, not diff.
Reported by Kaveh Ghazi.
Diffstat (limited to 'tests/mv/backup-is-src')
-rwxr-xr-xtests/mv/backup-is-src2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mv/backup-is-src b/tests/mv/backup-is-src
index 896465f7e..6c1429eaf 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