From 138bad15122177477bfd750ea88c4fd51baf6239 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 12 Aug 1998 17:14:34 +0000 Subject: add commented `diff -u' command --- tests/cp/same-file | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/cp/same-file') diff --git a/tests/cp/same-file b/tests/cp/same-file index 910973f66..b1b9f8693 100755 --- a/tests/cp/same-file +++ b/tests/cp/same-file @@ -51,6 +51,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do case "$args" in *sl2*) ln -s foo sl2;; esac ( ( + echo 1>&2 $CP $options $args $CP $options $args 2>.err echo $? $options @@ -166,5 +167,8 @@ cat <<\EOF > $expected EOF +# Uncomment this if you see a failure and want to try to diagnose it. +# diff -u $expected $actual 1>&2 + cmp $expected $actual exit $? -- cgit v1.2.3-54-g00ecf