From c96e639f2f1303c054e9327ee9cfee6c711665f5 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sat, 6 Jul 2024 22:29:19 +0200 Subject: [PATCH] tests: disable failed tests for stdbuf on OpenBSD Signed-off-by: Laurent Cheylus --- tests/by-util/test_stdbuf.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/by-util/test_stdbuf.rs b/tests/by-util/test_stdbuf.rs index b2fd33f77..da2f7390b 100644 --- a/tests/by-util/test_stdbuf.rs +++ b/tests/by-util/test_stdbuf.rs @@ -5,7 +5,7 @@ #[cfg(not(target_os = "windows"))] use crate::common::util::TestScenario; -#[cfg(not(target_os = "windows"))] +#[cfg(all(not(target_os = "windows"), not(target_os = "openbsd")))] #[test] fn test_stdbuf_unbuffered_stdout() { // This is a basic smoke test @@ -16,7 +16,7 @@ fn test_stdbuf_unbuffered_stdout() { .stdout_is("The quick brown fox jumps over the lazy dog."); } -#[cfg(not(target_os = "windows"))] +#[cfg(all(not(target_os = "windows"), not(target_os = "openbsd")))] #[test] fn test_stdbuf_line_buffered_stdout() { new_ucmd!() @@ -37,7 +37,7 @@ fn test_stdbuf_no_buffer_option_fails() { .stderr_contains("the following required arguments were not provided:"); } -#[cfg(not(target_os = "windows"))] +#[cfg(all(not(target_os = "windows"), not(target_os = "openbsd")))] #[test] fn test_stdbuf_trailing_var_arg() { new_ucmd!()