freebsd-skq/bin
Enji Cooper 63bd650f4b 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'

MFC after:	1 month
PR:		219943
Differential Revision:	D11167
Submitted by:	shivansh
Sponsored by:	Google (GSoC 2017)
2017-06-20 20:46:08 +00:00
..
cat Add testcases for cat -b 2017-06-06 21:50:00 +00:00
chflags Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
chio Document where chio(1) originated from & which version of FreeBSD first included it. 2016-10-05 18:26:39 +00:00
chmod Add some basic tests for chmod(1) 2017-06-07 05:33:56 +00:00
cp Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
csh Update to tcsh 6.20.00 2017-03-25 13:32:28 +00:00
date Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
dd Fix bin/dd/dd2_tests:seek_overflow on UFS and TMPFS 2017-06-03 18:29:18 +00:00
df Use {T:Capacity} for header so html output looks tidy 2017-06-13 05:38:40 +00:00
domainname Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
echo Add basic tests for echo(1) 2017-06-06 16:04:27 +00:00
ed Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
expr Document origins of expr & authors 2016-10-05 19:26:35 +00:00
freebsd-version bin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:31:08 +00:00
getfacl Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
hostname Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kenv style(9). 2016-11-28 07:21:09 +00:00
kill Don't kill pid -1 on overflow from strtol(3). 2017-03-05 21:56:04 +00:00
ln ln(1): fix -F behavior 2017-06-20 20:46:08 +00:00
ls Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mkdir Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
mv Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pax Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pkill Clarify -q is only for pgrep. 2017-06-05 16:00:10 +00:00
ps ps(1): Fix -w + UNLIMITED handling 2017-03-07 04:51:35 +00:00
pwait Rename some tests to end in _test. 2017-03-09 04:20:00 +00:00
pwd Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rcp Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
realpath Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rm Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rmail bin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:31:08 +00:00
rmdir Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
setfacl Explicitly NUL terminate the buffer filled by fread(). 2016-06-08 05:32:39 +00:00
sh sh: Enable interrupts before executing EXIT trap and doing final flush. 2017-06-11 16:54:04 +00:00
sleep Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
stty .Xr resizewin from stty(1) man page. 2017-05-07 11:44:25 +00:00
sync Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
test Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
uuidgen uuid_to_string(3) is allocating memory and can fail on that. 2016-08-03 18:04:08 +00:00
Makefile Start using the fact that SUBDIR.yes is added to SUBDIR 2015-10-05 21:41:55 +00:00
Makefile.inc