summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLaurent Cheylus <foxy@free.fr>2024-07-06 22:29:20 +0200
committerLaurent Cheylus <foxy@free.fr>2024-07-06 22:29:20 +0200
commitc25ba39ce62a91c70181fcbf8f8df47f7b180592 (patch)
tree50e26b9d0f37f38e0ddb52bf5aa6aabf44e0469e /tests
parentde4d91bedaf3a3ebfd0381dc3dd9bc0d05105f77 (diff)
tests: disable failed tests for touch on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
Diffstat (limited to 'tests')
-rw-r--r--tests/by-util/test_touch.rs3
1 files changed, 2 insertions, 1 deletions
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!();