Test for this:
authorJim Meyering <jim@meyering.net>
Sat, 3 Jun 2006 09:03:19 +0000 (09:03 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Jun 2006 09:03:19 +0000 (09:03 +0000)
commit09024704ab00a40dc45f6f69454f688feb079700
treee55095be38a284b2dc65f7e41e3f4916c2b20edf
parentdb5756af292644961cdb22fb1282700b8d14e20a
Test for this:

  Make `cp --link --no-dereference' work also on systems where the
  link system call cannot create a hard link to a symbolic link.
  * src/copy.c (copy_internal) [LINK_FOLLOWS_SYMLINKS]: Don't use
  the link syscall on a symlink when it would do the wrong thing.
  Based on the patch by Aurelien Jarno: <http://bugs.debian.org/329451>
tests/cp/link-no-deref [new file with mode: 0755]