| ... | ... | @@ -112,8 +112,11 @@ test "openat smoke test" { |
| 112 | 112 | test "symlink with relative paths" { |
| 113 | 113 | if (builtin.os.tag == .wasi) return error.SkipZigTest; |
| 114 | 114 | |
| 115 | const cwd = fs.cwd(); |
| 116 | cwd.deleteFile("file.txt") catch {}; |
| 117 | cwd.deleteFile("symlinked") catch {}; |
| 118 | |
| 115 | 119 | // First, try relative paths in cwd |
| 116 | | var cwd = fs.cwd(); |
| 117 | 120 | try cwd.writeFile("file.txt", "nonsense"); |
| 118 | 121 | |
| 119 | 122 | if (builtin.os.tag == .windows) { |