Files
freebsd/bin/ln
Enji Cooper d339ff25eb MFC r320172,r320173:
r320172:

ln(1): fix -F behavior

When '-F' option is used, the target directory needs to be unlinked.
Currently, the modified target ("target/source") is being unlinked, and
since it doesn't yet exist, the original target isn't removed.
This is fixed by skipping the block where target is modified to
"target/source" when '-F' option is set.
Hence, a symbolic link (with the same name as of the original target) to
the source_file is produced.

Update the test for ln(1) to reflect fix for option '-F'

PR:		219943

r320173:

Don't expect :sF_flag to fail anymore

While here, also add a check to verify that the link target
is updated in the testcase

MFC with:	r320172
PR:		219943
2017-07-17 21:11:21 +00:00
..
2017-07-17 21:11:21 +00:00
2017-07-17 21:09:31 +00:00
2017-07-17 21:11:21 +00:00
2017-07-05 15:58:23 +00:00
2015-06-13 19:20:56 +00:00
…