From e54d4b16f8d4207b6e84e28c583ec3b608e9062e Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 18 Dec 2024 05:06:12 +0000 Subject: [PATCH] tests: disable mknod/mknodat on openbsd too (EPERM errno). --- test/sys/test_stat.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/sys/test_stat.rs b/test/sys/test_stat.rs index fed517cf76..0a97e4f2d4 100644 --- a/test/sys/test_stat.rs +++ b/test/sys/test_stat.rs @@ -369,7 +369,8 @@ fn test_mkdirat_fail() { apple_targets, target_os = "haiku", target_os = "redox", - target_os = "solaris" + target_os = "solaris", + target_os = "openbsd", )))] fn test_mknod() { use stat::{lstat, mknod, SFlag}; @@ -389,7 +390,8 @@ fn test_mknod() { freebsdlike, apple_targets, target_os = "haiku", - target_os = "redox" + target_os = "redox", + target_os = "openbsd", )))] fn test_mknodat() { use fcntl::{AtFlags, OFlag};