Skip to content

Commit e54d4b1

Browse files
committed
tests: disable mknod/mknodat on openbsd too (EPERM errno).
1 parent 5674377 commit e54d4b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/sys/test_stat.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ fn test_mkdirat_fail() {
369369
apple_targets,
370370
target_os = "haiku",
371371
target_os = "redox",
372-
target_os = "solaris"
372+
target_os = "solaris",
373+
target_os = "openbsd",
373374
)))]
374375
fn test_mknod() {
375376
use stat::{lstat, mknod, SFlag};
@@ -389,7 +390,8 @@ fn test_mknod() {
389390
freebsdlike,
390391
apple_targets,
391392
target_os = "haiku",
392-
target_os = "redox"
393+
target_os = "redox",
394+
target_os = "openbsd",
393395
)))]
394396
fn test_mknodat() {
395397
use fcntl::{AtFlags, OFlag};

0 commit comments

Comments
 (0)