gas/testsuite: adjust a test for case insensitive file systems

When dealing with case insensitive file systems, ".file line.s" and
".file Line.s" are identical and thus gas won't change the current
input file.
However, in line.l test, it's expecting to trigger an input file switch.
As the second filename doesn't matter in it, change it to fit for those
file systems.

gas/ChangeLog:

	* testsuite/gas/elf/line.l: Change Line.s to Line2.s.
	* testsuite/gas/elf/line.s: Adjust output.
This commit is contained in:
Clément Chigot 2023-01-11 15:12:47 +01:00
parent 6d0020873d
commit 1fafeaac85
2 changed files with 7 additions and 7 deletions

View File

@ -15,17 +15,17 @@ line\.s:[0-9]*23: Info: .*
line\.s:4: Warning: m1/2: XYZ
line\.s:[0-9]*23: Info: .*
line\.s:[0-9]*24: Warning: \.warning .*
Line\.s:10: Warning: m2/1: 987
Line2\.s:10: Warning: m2/1: 987
line\.s:[0-9]*26: Info: .*
Line\.s:12: Warning: m2/2: 987
Line2\.s:12: Warning: m2/2: 987
line\.s:[0-9]*26: Info: .*
Line\.s:10: Warning: m2/1: zyx
Line2\.s:10: Warning: m2/1: zyx
line\.s:[0-9]*27: Info: .*
Line\.s:12: Warning: m2/2: zyx
Line2\.s:12: Warning: m2/2: zyx
line\.s:[0-9]*27: Info: .*
Line\.s:10: Warning: m2/1: CBA
Line2\.s:10: Warning: m2/1: CBA
line\.s:[0-9]*28: Info: .*
Line\.s:12: Warning: m2/2: CBA
Line2\.s:12: Warning: m2/2: CBA
line\.s:[0-9]*28: Info: .*
line\.s:[0-9]*29: Warning: \.warning .*
line\.s:[0-9]*35: Warning: irp/1: 123

View File

@ -5,7 +5,7 @@
.endm
.macro m2 args:vararg
.file "Line.s"
.file "Line2.s"
.line 9
.warning "m2/1: \args"
.nop