Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2025 12:21:34 GMT
From:      Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1c541a20989a - stable/13 - ln: Simplify sameness checks
Message-ID:  <202510091221.599CLYM4047100@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=1c541a20989a56a7a93d6243c081f714a7873152

commit 1c541a20989a56a7a93d6243c081f714a7873152
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2025-10-07 16:23:43 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2025-10-08 11:44:39 +0000

    ln: Simplify sameness checks
    
    Sponsored by:   Klara, Inc.
    Reviewed by:    markj
    Differential Revision:  https://reviews.freebsd.org/D52927
    
    (cherry picked from commit 18997fb9eca651a7ef13e6755a4d2cdd3ddede10)
---
 bin/ln/tests/ln_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510091221.599CLYM4047100>