diff options
author | Jim Meyering <jim@meyering.net> | 2001-01-10 09:58:43 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-01-10 09:58:43 +0000 |
commit | c1485dd85444e92deccb1ca60549a2633ef8b013 (patch) | |
tree | 6c3736d52476b4d851ee4ba58352608382ddd045 /tests/cp/into-self | |
parent | 35099b35baf236ba6958af1e274b0d8dc7d770aa (diff) | |
download | coreutils-c1485dd85444e92deccb1ca60549a2633ef8b013.tar.xz |
*** empty log message ***
Diffstat (limited to 'tests/cp/into-self')
-rwxr-xr-x | tests/cp/into-self | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cp/into-self b/tests/cp/into-self index 2d40022d1..bf5ade5b6 100755 --- a/tests/cp/into-self +++ b/tests/cp/into-self @@ -1,5 +1,9 @@ #!/bin/sh -# confirm that copying a directory into itself gets a proper diagnostic +# Confirm that copying a directory into itself gets a proper diagnostic. +# In 4.0.35 and earlier, `mkdir dir && cp -R dir dir' would produce this: +# cp: won't create hard link `dir/dir/dir' to directory `' +# Now it gives this: +# cp: can't copy a directory `dir' into itself `dir/dir' if test "$VERBOSE" = yes; then set -x |