git: aa80cfadff0b - main - lorder: Tweak invalid file test.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Feb 2024 14:19:22 UTC
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
}