diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-12 17:14:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-12 17:14:34 +0000 |
commit | 138bad15122177477bfd750ea88c4fd51baf6239 (patch) | |
tree | e7b5468349a8a4697385ecdb29545c328e29458b /tests | |
parent | f0604f17d6bbe30ea1f2a34feb03c71036f7d9c3 (diff) | |
download | coreutils-138bad15122177477bfd750ea88c4fd51baf6239.tar.xz |
add commented `diff -u' command
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp/same-file | 4 |
1 files changed, 4 insertions, 0 deletions
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 $? |