aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Module.zig
diff options
context:
space:
mode:
authorPat Tullmann <pat.github@tullmann.org>2023-10-23 15:00:17 -0700
committerPat Tullmann <pat.github@tullmann.org>2024-01-16 14:19:48 -0800
commitc36962bb197abf66e2eb94068dc2a53b098fff9d (patch)
treef846328b69fc84059424a72924d82525be5b257b /lib/std/Build/Module.zig
parent95a0e127b3f9528d25e0aefefc238d082a57bdc3 (diff)
downloadzig-c36962bb197abf66e2eb94068dc2a53b098fff9d.tar.gz
zig-c36962bb197abf66e2eb94068dc2a53b098fff9d.zip
std/fs/test.zig: Factor out the symlink-creation wrappers
Because creation of a symlink can fail on Windows with an Access Denied error (https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/create-symbolic-links) any tests that need a symbolic link "skip" if they run into this problem. This change factors out a "setupSymbolicLink()" routine to make this clearer, a bit tighter, and easier to use in future tests. I also collapsed the "symlink in parent directory" test into the existing "Dir.readlink" test, because the latter uses the more comprehensive testWithAllSupportedPathTypes wrapper.
Diffstat (limited to 'lib/std/Build/Module.zig')
0 files changed, 0 insertions, 0 deletions