mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
chown: restrict no-dereference symlink ctime test to Linux (#12556)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user