projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35099b3
)
*** empty log message ***
author
Jim Meyering
<jim@meyering.net>
Wed, 10 Jan 2001 09:58:43 +0000
(09:58 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 10 Jan 2001 09:58:43 +0000
(09:58 +0000)
tests/cp/into-self
patch
|
blob
|
history
diff --git
a/tests/cp/into-self
b/tests/cp/into-self
index
2d40022
..
bf5ade5
100755
(executable)
--- 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