freebsd-skq/bin/ln
Alan Somers 670f178299 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
2017-06-08 19:09:55 +00:00
..
tests Add tests for ln(1) 2017-06-08 19:09:55 +00:00
ln.1 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ln.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile Add tests for ln(1) 2017-06-08 19:09:55 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
symlink.7 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00