aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-10-07 16:23:43 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-10-09 12:20:52 +0000
commitf5060534b4f186e430fd5ce17de641f35dae32cd (patch)
treecb32195a2efffbc499513ff4d3772323c5a713b8
parent74fa49276487afc174ff3299a034e063cd947399 (diff)
ln: Simplify sameness checks
Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D52927 (cherry picked from commit 18997fb9eca651a7ef13e6755a4d2cdd3ddede10)
-rw-r--r--bin/ln/tests/ln_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ln/tests/ln_test.sh b/bin/ln/tests/ln_test.sh
index 82bc556842d8..5a29cfe2cc6a 100644
--- a/bin/ln/tests/ln_test.sh
+++ b/bin/ln/tests/ln_test.sh
@@ -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()