Skip to content

Commit d38a656

Browse files
bors[bot]rtzoeller
andauthored
1616: Disable mknod and mknodat tests on DragonFly r=asomers a=rtzoeller Like FreeBSD, DragonFly does not support creating regular files (i.e. `S_IFREG`) with `mknod` or `mknodat`. These tests should be disabled as they always fail. There are still a few other failing tests on DragonFly, but it is unclear to me if they are due to faulty/inapplicable test logic or a bug in DragonFly. Co-authored-by: Ryan Zoeller <[email protected]>
2 parents 7be98a4 + 9fe9432 commit d38a656

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_stat.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ fn test_mkdirat_fail() {
308308
}
309309

310310
#[test]
311-
#[cfg(not(any(target_os = "freebsd",
311+
#[cfg(not(any(target_os = "dragonfly",
312+
target_os = "freebsd",
312313
target_os = "ios",
313314
target_os = "macos",
314315
target_os = "redox")))]
@@ -325,7 +326,8 @@ fn test_mknod() {
325326
}
326327

327328
#[test]
328-
#[cfg(not(any(target_os = "freebsd",
329+
#[cfg(not(any(target_os = "dragonfly",
330+
target_os = "freebsd",
329331
target_os = "illumos",
330332
target_os = "ios",
331333
target_os = "macos",

0 commit comments

Comments
 (0)