Skip to content

Commit

Permalink
Merge pull request #6349 from jadijadi/disabling-xattrs-openbsd
Browse files Browse the repository at this point in the history
Disabling xattrs tests on OpenBSD
  • Loading branch information
sylvestre authored May 5, 2024
2 parents a3d05e5 + 19d42c0 commit 421f3a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ pub fn get_root_path() -> &'static str {
/// # Returns
///
/// `true` if both paths have the same set of extended attributes, `false` otherwise.
#[cfg(all(unix, not(target_os = "macos")))]
#[cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))]
pub fn compare_xattrs<P: AsRef<std::path::Path>>(path1: P, path2: P) -> bool {
let get_sorted_xattrs = |path: P| {
xattr::list(path)
Expand Down Expand Up @@ -3611,7 +3611,7 @@ mod tests {
assert!(command.tmpd.is_some());
}

#[cfg(all(unix, not(target_os = "macos")))]
#[cfg(all(unix, not(any(target_os = "macos", target_os = "openbsd"))))]
#[test]
fn test_compare_xattrs() {
use tempfile::tempdir;
Expand Down

0 comments on commit 421f3a9

Please sign in to comment.