section-select: Fix exclude-file-3

this testcase wasn't correctly testing everything, it passed, even
though sections from an excluded file were included.  Fixing this
reveals a problem in the new section selector.  This fixes that as
well.
This commit is contained in:
Michael Matz
2022-11-16 16:28:01 +01:00
parent d779149912
commit 885d86436c
2 changed files with 7 additions and 4 deletions

View File

@@ -3,5 +3,7 @@
EXCLUDE_FILE\(\*-b\.o\) \*\(\.data \.data\.\*\)
\.data +0x[0-9a-f]+ +0x[0-9a-f]+ tmpdir/exclude-file-a\.o
\.data\.1 +0x[0-9a-f]+ +0x[0-9a-f]+ tmpdir/exclude-file-a\.o
#failif
.*data +0x[0-9a-f]+ +0x[0-9a-f]+ .*exclude-file-b.*
#...
#...