[Bug 196435] Prevent @sample keyword from removing user symlinks
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 2 17:36:42 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435
--- Comment #7 from Jan Beich <jbeich at vfemail.net> ---
|test -f| isn't reliable
$ ln -s foo bar
$ [ -f bar ]; echo $?
1
$ touch foo
$ [ -f bar ]; echo $?
0
while test(1) mangpage says:
If file is a symbolic link, test will fully dereference it and then
evaluate the expression against the file referenced, except for the -h
and -L primaries.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list