tests: disable failed tests for test on OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
Laurent Cheylus 2024-07-06 22:29:19 +02:00
parent de742e905b
commit de4d91beda
No known key found for this signature in database

View file

@ -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();