From bf54fce055f9bd6b12864a57910eeecdc8e31d44 Mon Sep 17 00:00:00 2001 From: Jeffrey Finkelstein Date: Sat, 3 Dec 2022 23:50:39 -0500 Subject: [PATCH] tests: skip inode check on BSD --- tests/by-util/test_cp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index d208f5fcc..2ab7b1598 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -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()