| 2ae8d346 | 27-Mar-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
ln: Add a test case for ln -sfF.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: allanjude, asomers Differential Revision: https://reviews.freebsd.org/D44513 |
| 0773ff18 | 12-Jun-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Style fixes: clean up leading whitespace (8 single column spaces -> \t)
MFC after: 1 month MFC with: r319714, r319854, r319855, r319856 |
| ed66391a | 12-Jun-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add a testcase for `ln -sF`
The testcase fails today, so mark it with atf_expect_fail: in particular, the target (B) isn't being unlinked and the documentation doesn't suggest special handling for d
Add a testcase for `ln -sF`
The testcase fails today, so mark it with atf_expect_fail: in particular, the target (B) isn't being unlinked and the documentation doesn't suggest special handling for directories. Thus, there's either a doc or an implementation bug in ln(1) that needs to be resolved.
MFC after: 1 month MFC with: r319714, r319854, r319855 PR: 219943 Reviewed by: ngie Submitted by: shivansh Differential Revision: D11159 (part of a larger diff) Sponsored by: Google, Inc (GSoC 2017)
show more ...
|
| 07b98436 | 12-Jun-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Use readlink(1)/stat(1) to query symlinks instead of file(1)
file(1) can be compiled out of the system via MK_FILE == no, and the output isn't guaranteed to be stable. It's better to use stat(1)/rea
Use readlink(1)/stat(1) to query symlinks instead of file(1)
file(1) can be compiled out of the system via MK_FILE == no, and the output isn't guaranteed to be stable. It's better to use stat(1)/readlink(1) instead to query symlink/file paths.
MFC after: 1 month MFC with: r319714, r319854 Reported by: ngie Submitted by: shivansh Differential Revision: D11159 (part of a larger diff) Sponsored by: Google, Inc (GSoC 2017)
show more ...
|