[v2,4/4] gas: testsuite: all: Avoid clashing names in err-sizeof.s

Message ID 20250916093555.3132871-5-rearnsha@arm.com
State New
Headers
Series Cleanup duplicate test names |

Commit Message

Richard Earnshaw Sept. 16, 2025, 9:35 a.m. UTC
  The first junk test in this file was missing "junk" in the test name,
which resulted in a duplicate test name when comparing with the real
test on line 3.
---
 gas/testsuite/gas/all/err-sizeof.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gas/testsuite/gas/all/err-sizeof.s b/gas/testsuite/gas/all/err-sizeof.s
index a70cd191f7b..066142b0c33 100644
--- a/gas/testsuite/gas/all/err-sizeof.s
+++ b/gas/testsuite/gas/all/err-sizeof.s
@@ -10,7 +10,7 @@ 
 	.long	.startof.()		;# { dg-error "Error: expected symbol name" }
 ;# We don't really care about these, but I didn't find a way to discard
 ;# them, and I also don't want to use dg-excess-errors here.
-;# { dg-error "junk at end" "" { target *-*-* } 3 }
+;# { dg-error "junk at end" "junk" { target *-*-* } 3 }
 ;# { dg-error "junk at end" "junk" { target *-*-* } 4 }
 ;# { dg-error "junk at end" "junk" { target *-*-* } 5 }
 ;# { dg-error "junk at end" "junk" { target *-*-* } 6 }