diff options
author | Laurent Cheylus <foxy@free.fr> | 2024-07-06 22:29:19 +0200 |
---|---|---|
committer | Laurent Cheylus <foxy@free.fr> | 2024-07-06 22:29:19 +0200 |
commit | c96e639f2f1303c054e9327ee9cfee6c711665f5 (patch) | |
tree | 003913564e3964ace1a09e40c025da44aba00272 /tests/by-util | |
parent | 6bce1626b3671ad584c1aa08746d0198d8e19359 (diff) |
tests: disable failed tests for stdbuf on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
Diffstat (limited to 'tests/by-util')
-rw-r--r-- | tests/by-util/test_stdbuf.rs | 6 |
1 files 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!() |