mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
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
This commit is contained in:
parent
aedb37dc49
commit
aa80cfadff
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue