File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ test "directory operations on files" {
227
227
testing .expectError (error .NotDir , tmp_dir .dir .openDir (test_file_name , .{}));
228
228
testing .expectError (error .NotDir , tmp_dir .dir .deleteDir (test_file_name ));
229
229
230
- if (builtin .os .tag != .wasi and builtin .os .tag != .freebsd ) {
230
+ if (builtin .os .tag != .wasi and builtin .os .tag != .freebsd and builtin . os . tag != .openbsd ) {
231
231
const absolute_path = try tmp_dir .dir .realpathAlloc (testing .allocator , test_file_name );
232
232
defer testing .allocator .free (absolute_path );
233
233
@@ -264,7 +264,7 @@ test "file operations on directories" {
264
264
// TODO: Add a read-only test as well, see https://github.com/ziglang/zig/issues/5732
265
265
testing .expectError (error .IsDir , tmp_dir .dir .openFile (test_dir_name , .{ .write = true }));
266
266
267
- if (builtin .os .tag != .wasi and builtin .os .tag != .freebsd ) {
267
+ if (builtin .os .tag != .wasi and builtin .os .tag != .freebsd and builtin . os . tag != .openbsd ) {
268
268
const absolute_path = try tmp_dir .dir .realpathAlloc (testing .allocator , test_dir_name );
269
269
defer testing .allocator .free (absolute_path );
270
270
You can’t perform that action at this time.
0 commit comments