From c25ba39ce62a91c70181fcbf8f8df47f7b180592 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sat, 6 Jul 2024 22:29:20 +0200 Subject: [PATCH] tests: disable failed tests for touch on OpenBSD Signed-off-by: Laurent Cheylus --- tests/by-util/test_touch.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_touch.rs b/tests/by-util/test_touch.rs index 51731b9ff..a0d51c208 100644 --- a/tests/by-util/test_touch.rs +++ b/tests/by-util/test_touch.rs @@ -721,7 +721,7 @@ fn test_touch_no_such_file_error_msg() { } #[test] -#[cfg(not(target_os = "freebsd"))] +#[cfg(not(any(target_os = "freebsd", target_os = "openbsd")))] fn test_touch_changes_time_of_file_in_stdout() { // command like: `touch - 1< ./c` // should change the timestamp of c @@ -864,6 +864,7 @@ fn test_touch_no_dereference_dangling() { } #[test] +#[cfg(not(target_os = "openbsd"))] fn test_touch_dash() { let (_, mut ucmd) = at_and_ucmd!();