| ... | @@ -446,8 +446,8 @@ test "file operations on directories" { | ... | @@ -446,8 +446,8 @@ test "file operations on directories" { |
| 446 | try testing.expectError(error.IsDir, tmp_dir.dir.createFile(test_dir_name, .{})); | 446 | try testing.expectError(error.IsDir, tmp_dir.dir.createFile(test_dir_name, .{})); |
| 447 | try testing.expectError(error.IsDir, tmp_dir.dir.deleteFile(test_dir_name)); | 447 | try testing.expectError(error.IsDir, tmp_dir.dir.deleteFile(test_dir_name)); |
| 448 | switch (builtin.os.tag) { | 448 | switch (builtin.os.tag) { |
| 449 | // NetBSD does not error when reading a directory. | 449 | // no error when reading a directory. |
| 450 | .netbsd => {}, | 450 | .dragonfly, .netbsd => {}, |
| 451 | // Currently, WASI will return error.Unexpected (via ENOTCAPABLE) when attempting fd_read on a directory handle. | 451 | // Currently, WASI will return error.Unexpected (via ENOTCAPABLE) when attempting fd_read on a directory handle. |
| 452 | // TODO: Re-enable on WASI once https://github.com/bytecodealliance/wasmtime/issues/1935 is resolved. | 452 | // TODO: Re-enable on WASI once https://github.com/bytecodealliance/wasmtime/issues/1935 is resolved. |
| 453 | .wasi => {}, | 453 | .wasi => {}, |