svn commit: r321093 - in stable/10: bin/ln bin/ln/tests etc/mtree

Alan Somers asomers at freebsd.org
Mon Jul 31 21:34:18 UTC 2017


On Mon, Jul 17, 2017 at 3:12 PM, Ngie Cooper <ngie at freebsd.org> wrote:
> Author: ngie
> Date: Mon Jul 17 21:12:02 2017
> New Revision: 321093
> URL: https://svnweb.freebsd.org/changeset/base/321093
>
> Log:
>   MFC r319857:
>
>   ln(1): wordsmith -F option description
>
> Added:
>   stable/10/bin/ln/tests/
>      - copied from r319714, head/bin/ln/tests/
> Modified:
>   stable/10/bin/ln/Makefile
>   stable/10/etc/mtree/BSD.tests.dist
> Directory Properties:
>   stable/10/   (props changed)

It looks like the commit message for this one was wrong, though the
merge tracking info is correct.  The commit message should've read:

MFC r319714:

Add tests for ln(1)

* Verify that when creating a hard link to a symbolic link, '-L' option
  creates a hard link to the target of the symbolic link
* Verify that when creating a hard link to a symbolic link, '-P' option
  creates a hard link to the symbolic link itself
* Verify that if the target file already exists, '-f' option unlinks it so
  that link may occur
* Verify that if the target file or directory is a symbolic link, '-shf'
  option prevents following the link
* Verify that if the target file or directory is a symbolic link, '-snf'
  option prevents following the link
* Verify that '-s' option creates a symbolic link
* Verify that '-w' option produces a warning if the source of a symbolic
  link does not currently exist

Submitted by: shivansh
Reviewed by: asomers, ngie
MFC after: 1 month
Sponsored by: Google, Inc (GSoC 2017)
Differential Revision: https://reviews.freebsd.org/D11084


More information about the svn-src-stable-10 mailing list