1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

tests: disable failed tests for stat on OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
Laurent Cheylus 2024-07-06 22:29:18 +02:00
parent 26da94687f
commit 6bce1626b3
No known key found for this signature in database

View file

@ -134,6 +134,7 @@ fn test_normal_format() {
} }
#[cfg(unix)] #[cfg(unix)]
#[cfg(not(target_os = "openbsd"))]
#[test] #[test]
fn test_symlinks() { fn test_symlinks() {
let ts = TestScenario::new(util_name!()); let ts = TestScenario::new(util_name!());
@ -263,7 +264,10 @@ fn test_pipe_fifo() {
} }
#[test] #[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() { fn test_stdin_pipe_fifo1() {
// $ echo | stat - // $ echo | stat -
// File: - // File: -
@ -318,7 +322,12 @@ fn test_stdin_with_fs_option() {
#[test] #[test]
#[cfg(all( #[cfg(all(
unix, 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() { fn test_stdin_redirect() {
// $ touch f && stat - < f // $ touch f && stat - < f