1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #4212 from jfinkels/fix-bsd-test

tests: skip inode check on BSD
This commit is contained in:
Sylvestre Ledru 2022-12-04 10:11:08 +01:00 committed by GitHub
commit 8880d9d473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2383,7 +2383,7 @@ fn test_preserve_hardlink_attributes_in_directory() {
//
// A hard link should have the same inode as the target file.
at.file_exists("dest/src/link");
#[cfg(unix)]
#[cfg(all(unix, not(target_os = "freebsd")))]
assert_eq!(
at.metadata("dest/src/f").ino(),
at.metadata("dest/src/link").ino()