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

tests: skip inode check on BSD

This commit is contained in:
Jeffrey Finkelstein 2022-12-03 23:50:39 -05:00
parent 4a4bb550e1
commit bf54fce055

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()