ln: Simplify sameness checks

Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D52927
This commit is contained in:
Dag-Erling Smørgrav
2025-10-07 18:23:43 +02:00
parent 95de78614a
commit 18997fb9ec
+1 -1
View File
@@ -28,7 +28,7 @@
atf_check_same_file()
{
atf_check_equal "$(stat -f %d,%i "$1")" "$(stat -f %d,%i "$2")"
atf_check test "$1" -ef "$2"
}
atf_check_symlink_to()