Documentation
¶
Overview ¶
Package testutil holds small helpers shared across test binaries. It is intended for use only from *_test.go files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkipIfSymlinkUnsupported ¶
SkipIfSymlinkUnsupported skips the calling test when the host cannot create symbolic links. This typically happens on Windows without Developer Mode or elevated privileges, and in some sandboxed CI environments.
Both a file symlink and a directory symlink are probed: on Windows these use different code paths and can have different privilege requirements, so a test that assumes one works because the other does would fail instead of being skipped. Every test in the repo that creates a symlink may create either kind, so we gate conservatively on the weaker capability.
Types ¶
This section is empty.