Skip to content

Commit cfc6457

Browse files
authored
chown: restrict no-dereference symlink ctime test to Linux (#12556)
1 parent 113c9cd commit cfc6457

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/by-util/test_chown.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// For the full copyright and license information, please view the LICENSE
44
// file that was distributed with this source code.
55
// spell-checker:ignore (words) agroupthatdoesntexist auserthatdoesntexist cuuser groupname notexisting passgrp
6-
6+
#[cfg(all(unix, not(target_os = "openbsd")))]
77
use std::os::unix::fs::MetadataExt;
88
use uutests::util::{CmdResult, TestScenario, is_ci, run_ucmd_as_root};
99
use uutests::util_name;
@@ -900,7 +900,7 @@ fn test_chown_reference_file() {
900900
}
901901

902902
#[test]
903-
#[cfg(unix)]
903+
#[cfg(all(unix, not(target_os = "openbsd")))]
904904
fn test_chown_no_dereference_symlink_to_dir() {
905905
let scene = TestScenario::new(util_name!());
906906
let at = &scene.fixtures;

0 commit comments

Comments
 (0)