| ... | @@ -92,6 +92,13 @@ test "openDirAbsolute" { | ... | @@ -92,6 +92,13 @@ test "openDirAbsolute" { |
| 92 | } | 92 | } |
| 93 | } | 93 | } |
| 94 | | 94 | |
| | 95 | test "openDir cwd parent .." { |
| | 96 | if (builtin.os.tag == .wasi) return error.SkipZigTest; |
| | 97 | |
| | 98 | var cwd = try fs.cwd().openDir("..", .{}); |
| | 99 | defer cwd.close(); |
| | 100 | } |
| | 101 | |
| 95 | test "readLinkAbsolute" { | 102 | test "readLinkAbsolute" { |
| 96 | if (builtin.os.tag == .wasi) return error.SkipZigTest; | 103 | if (builtin.os.tag == .wasi) return error.SkipZigTest; |
| 97 | | 104 | |