summaryrefslogtreecommitdiffstats
path: root/tests/by-util
diff options
context:
space:
mode:
authorLaurent Cheylus <foxy@free.fr>2024-07-06 22:29:18 +0200
committerLaurent Cheylus <foxy@free.fr>2024-07-06 22:29:18 +0200
commit6bce1626b3671ad584c1aa08746d0198d8e19359 (patch)
tree6681b50ecb0c5b6002708a4fa7af2512d37dfae8 /tests/by-util
parent26da94687fd43c7cf2c23d09b2c790ccc96f1793 (diff)
tests: disable failed tests for stat on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
Diffstat (limited to 'tests/by-util')
-rw-r--r--tests/by-util/test_stat.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/by-util/test_stat.rs b/tests/by-util/test_stat.rs
index 0efb82c9a..8cb4493f0 100644
--- a/tests/by-util/test_stat.rs
+++ b/tests/by-util/test_stat.rs
@@ -134,6 +134,7 @@ fn test_normal_format() {
}
#[cfg(unix)]
+#[cfg(not(target_os = "openbsd"))]
#[test]
fn test_symlinks() {
let ts = TestScenario::new(util_name!());
@@ -263,7 +264,10 @@ fn test_pipe_fifo() {
}
#[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() {
// $ echo | stat -
// File: -
@@ -318,7 +322,12 @@ fn test_stdin_with_fs_option() {
#[test]
#[cfg(all(
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() {
// $ touch f && stat - < f