mirror of
https://github.com/uutils/coreutils
synced 2024-07-23 19:04:18 +00:00
Disabling compare_xattrs cp and mv related tests on OpenBSD
The test_cp and test_mv have xattr related tests. They should
be disabled on OpenBSD after commit 19d42c0339
disabled the
compare_xattrs function on OpenBSD.
Fixes #6348
This commit is contained in:
parent
b029e27dd8
commit
9303f8e5b1
|
@ -56,7 +56,10 @@ static TEST_MOUNT_MOUNTPOINT: &str = "mount";
|
|||
static TEST_MOUNT_OTHER_FILESYSTEM_FILE: &str = "mount/DO_NOT_copy_me.txt";
|
||||
#[cfg(unix)]
|
||||
static TEST_NONEXISTENT_FILE: &str = "nonexistent_file.txt";
|
||||
#[cfg(all(unix, not(any(target_os = "android", target_os = "macos"))))]
|
||||
#[cfg(all(
|
||||
unix,
|
||||
not(any(target_os = "android", target_os = "macos", target_os = "openbsd"))
|
||||
))]
|
||||
use crate::common::util::compare_xattrs;
|
||||
|
||||
/// Assert that mode, ownership, and permissions of two metadata objects match.
|
||||
|
@ -3748,7 +3751,10 @@ fn test_cp_no_such() {
|
|||
.stderr_is("cp: 'no-such/' is not a directory\n");
|
||||
}
|
||||
|
||||
#[cfg(all(unix, not(any(target_os = "android", target_os = "macos"))))]
|
||||
#[cfg(all(
|
||||
unix,
|
||||
not(any(target_os = "android", target_os = "macos", target_os = "openbsd"))
|
||||
))]
|
||||
#[test]
|
||||
fn test_acl_preserve() {
|
||||
use std::process::Command;
|
||||
|
|
|
@ -1569,7 +1569,7 @@ fn test_mv_dir_into_path_slash() {
|
|||
assert!(at.dir_exists("f/b"));
|
||||
}
|
||||
|
||||
#[cfg(all(unix, not(target_os = "macos")))]
|
||||
#[cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))]
|
||||
#[test]
|
||||
fn test_acl() {
|
||||
use std::process::Command;
|
||||
|
|
Loading…
Reference in a new issue