diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-10-07 18:23:43 +0200 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-10-07 18:23:58 +0200 |
| commit | 18997fb9eca651a7ef13e6755a4d2cdd3ddede10 (patch) | |
| tree | df82b7651632a6bc67b5590e1d6daaaaf175fedb /bin | |
| parent | 95de78614a57733807c28c05125ed0636309d88b (diff) | |
ln: Simplify sameness checks
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D52927
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/ln/tests/ln_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ln/tests/ln_test.sh b/bin/ln/tests/ln_test.sh index 78b4074aea18..ac9d785ba1fc 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() |
