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 stdbuf on OpenBSD

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

View file

@ -5,7 +5,7 @@
#[cfg(not(target_os = "windows"))] #[cfg(not(target_os = "windows"))]
use crate::common::util::TestScenario; use crate::common::util::TestScenario;
#[cfg(not(target_os = "windows"))] #[cfg(all(not(target_os = "windows"), not(target_os = "openbsd")))]
#[test] #[test]
fn test_stdbuf_unbuffered_stdout() { fn test_stdbuf_unbuffered_stdout() {
// This is a basic smoke test // 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."); .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] #[test]
fn test_stdbuf_line_buffered_stdout() { fn test_stdbuf_line_buffered_stdout() {
new_ucmd!() new_ucmd!()
@ -37,7 +37,7 @@ fn test_stdbuf_no_buffer_option_fails() {
.stderr_contains("the following required arguments were not provided:"); .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] #[test]
fn test_stdbuf_trailing_var_arg() { fn test_stdbuf_trailing_var_arg() {
new_ucmd!() new_ucmd!()