summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/by-util/test_stdbuf.rs6
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!()