diff --git a/tests/by-util/test_stat.rs b/tests/by-util/test_stat.rs index 0efb82c9a..8cb4493f0 100644 --- a/tests/by-util/test_stat.rs +++ b/tests/by-util/test_stat.rs @@ -134,6 +134,7 @@ fn test_normal_format() { } #[cfg(unix)] +#[cfg(not(target_os = "openbsd"))] #[test] fn test_symlinks() { let ts = TestScenario::new(util_name!()); @@ -263,7 +264,10 @@ fn test_pipe_fifo() { } #[test] -#[cfg(all(unix, not(any(target_os = "android", target_os = "freebsd"))))] +#[cfg(all( + unix, + not(any(target_os = "android", target_os = "freebsd", target_os = "openbsd")) +))] fn test_stdin_pipe_fifo1() { // $ echo | stat - // File: - @@ -318,7 +322,12 @@ fn test_stdin_with_fs_option() { #[test] #[cfg(all( unix, - not(any(target_os = "android", target_os = "macos", target_os = "freebsd")) + not(any( + target_os = "android", + target_os = "macos", + target_os = "freebsd", + target_os = "openbsd" + )) ))] fn test_stdin_redirect() { // $ touch f && stat - < f