diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-02 05:59:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-02 05:59:23 +0000 |
commit | d8fd301deaa077ab74b3960f030a13e0000bcb6e (patch) | |
tree | 57f134e3842c097f7cce39e51f90f35fc40091a5 | |
parent | b1e5afbaefaccb12b9bc55f54a6adbc2afdfb65f (diff) | |
download | coreutils-d8fd301deaa077ab74b3960f030a13e0000bcb6e.tar.xz |
add comments
-rwxr-xr-x | tests/mv/hard-3 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/mv/hard-3 b/tests/mv/hard-3 index 6fdf0ffaf..2e04e58eb 100755 --- a/tests/mv/hard-3 +++ b/tests/mv/hard-3 @@ -1,6 +1,17 @@ #!/bin/sh # Ensure that using `cp --preserve=link' to copy hard-linked arguments # onto existing destinations works, even when one of the link operations fails. +# This bug was fixed in coreutils-4.5.9. +# To exercise this bug is non-trivial: +# Set-up requires at least three hard-linked files. In copying them, +# while preserving links, the initial copy must succeed, the attempt +# to create the second file via `link' must fail, and the final `link' +# (to create the third) must succeed. Before the corresponding fix, +# the first and third destination file would not be linked. +# +# Note that this is nominally a test of `cp', yet it is in the tests/mv +# directory, because it requires use of the --preserve=link option that +# mv enables by default. if test "$VERBOSE" = yes; then set -x |