diff options
| author | Pat Tullmann <pat.github@tullmann.org> | 2023-10-23 15:00:17 -0700 |
|---|---|---|
| committer | Pat Tullmann <pat.github@tullmann.org> | 2024-01-16 14:19:48 -0800 |
| commit | c36962bb197abf66e2eb94068dc2a53b098fff9d (patch) | |
| tree | f846328b69fc84059424a72924d82525be5b257b /lib/std/Build/Module.zig | |
| parent | 95a0e127b3f9528d25e0aefefc238d082a57bdc3 (diff) | |
| download | zig-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
