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:
parent
4a4bb550e1
commit
bf54fce055
1 changed files with 1 additions and 1 deletions
|
@ -2383,7 +2383,7 @@ fn test_preserve_hardlink_attributes_in_directory() {
|
||||||
//
|
//
|
||||||
// A hard link should have the same inode as the target file.
|
// A hard link should have the same inode as the target file.
|
||||||
at.file_exists("dest/src/link");
|
at.file_exists("dest/src/link");
|
||||||
#[cfg(unix)]
|
#[cfg(all(unix, not(target_os = "freebsd")))]
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
at.metadata("dest/src/f").ino(),
|
at.metadata("dest/src/f").ino(),
|
||||||
at.metadata("dest/src/link").ino()
|
at.metadata("dest/src/link").ino()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue