summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-25 21:50:35 +0000
committerJim Meyering <jim@meyering.net>1998-07-25 21:50:35 +0000
commitac517dbe89493a73d783aad4881fda059033d6d2 (patch)
tree02c88261920e93d1160b157ca9b91f1a60d10959 /tests
parent3ae3622d9e59d7584f19d0265609f85c31c514a5 (diff)
downloadcoreutils-ac517dbe89493a73d783aad4881fda059033d6d2.tar.xz
Remove `diff' I'd put in for debugging.
Exit with the status from cmp.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp/same-file3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index 03d34d058..910973f66 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -166,4 +166,5 @@ cat <<\EOF > $expected
EOF
-cmp $expected $actual || diff -u $expected $actual 1>&2
+cmp $expected $actual
+exit $?