chown: restrict no-dereference symlink ctime test to Linux (#12556)

This commit is contained in:
Lorenzo Rossi
2026-06-03 17:40:14 +02:00
committed by GitHub
parent 113c9cd1f9
commit cfc6457681
+2 -2
View File
@@ -3,7 +3,7 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
// spell-checker:ignore (words) agroupthatdoesntexist auserthatdoesntexist cuuser groupname notexisting passgrp
#[cfg(all(unix, not(target_os = "openbsd")))]
use std::os::unix::fs::MetadataExt;
use uutests::util::{CmdResult, TestScenario, is_ci, run_ucmd_as_root};
use uutests::util_name;
@@ -900,7 +900,7 @@ fn test_chown_reference_file() {
}
#[test]
#[cfg(unix)]
#[cfg(all(unix, not(target_os = "openbsd")))]
fn test_chown_no_dereference_symlink_to_dir() {
let scene = TestScenario::new(util_name!());
let at = &scene.fixtures;