From de4d91bedaf3a3ebfd0381dc3dd9bc0d05105f77 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sat, 6 Jul 2024 22:29:19 +0200 Subject: [PATCH] tests: disable failed tests for test on OpenBSD Signed-off-by: Laurent Cheylus --- tests/by-util/test_test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_test.rs b/tests/by-util/test_test.rs index c5e06d4c8..ebabbf9b1 100644 --- a/tests/by-util/test_test.rs +++ b/tests/by-util/test_test.rs @@ -553,9 +553,9 @@ fn test_nonexistent_file_is_not_symlink() { } #[test] -// Only the superuser is allowed to set the sticky bit on files on FreeBSD. +// Only the superuser is allowed to set the sticky bit on files on FreeBSD/OpenBSD. // Windows has no concept of sticky bit -#[cfg(not(any(windows, target_os = "freebsd")))] +#[cfg(not(any(windows, target_os = "freebsd", target_os = "openbsd")))] fn test_file_is_sticky() { let scenario = TestScenario::new(util_name!()); let mut ucmd = scenario.ucmd();