Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Feb 2024 14:19:22 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-main@FreeBSD.org
Subject:   git: aa80cfadff0b - main - lorder: Tweak invalid file test.
Message-ID:  <202402291419.41TEJMOO005627@gitrepo.freebsd.org>

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

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

commit aa80cfadff0bb715ca090cbd1b3561a1619251d5
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-02-29 13:59:25 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-02-29 13:59:25 +0000

    lorder: Tweak invalid file test.
    
    Different implementations of `nm` have different ways of telling you
    that your file is not a valid object or library, but they all seem to
    have “not recognized” as a common substring.
    
    MFC after:      1 week
    Sponsored by:   Klara, Inc.
    Reviewed by:    allanjude
    Differential Revision:  https://reviews.freebsd.org/D44154
---
 usr.bin/lorder/tests/lorder_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/lorder/tests/lorder_test.sh b/usr.bin/lorder/tests/lorder_test.sh
index 449cda29f825..a4276b2dcfe6 100644
--- a/usr.bin/lorder/tests/lorder_test.sh
+++ b/usr.bin/lorder/tests/lorder_test.sh
@@ -52,7 +52,7 @@ invalid_head() {
 }
 invalid_body() {
 	echo "not an object file" >invalid.o
-	atf_check -s not-exit:0 -e match:"File format not" -o empty \
+	atf_check -s not-exit:0 -e match:"not recognized" -o empty \
 		  lorder invalid.o
 }
 



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