[v2,1/3] ld: testsuite: Fix test name in sort_b_n_a-2.d

Message ID 20250916164224.3349547-1-rearnsha@arm.com
State New
Headers
Series [v2,1/3] ld: testsuite: Fix test name in sort_b_n_a-2.d |

Commit Message

Richard Earnshaw Sept. 16, 2025, 4:42 p.m. UTC
  This test was invoked with the option '--sort-section name' but the
test name printed out was '--sort-section alignment'.  Fix the name to
match the option passed.
---
 ld/testsuite/ld-scripts/sort_b_n_a-2.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jan Beulich Sept. 16, 2025, 8:11 p.m. UTC | #1
On 16.09.2025 18:42, Richard Earnshaw wrote:
> This test was invoked with the option '--sort-section name' but the
> test name printed out was '--sort-section alignment'.  Fix the name to
> match the option passed.
> ---
>  ld/testsuite/ld-scripts/sort_b_n_a-2.d | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

If not deemed obvious anyway, okay for all three patches.

Jan
  

Patch

diff --git a/ld/testsuite/ld-scripts/sort_b_n_a-2.d b/ld/testsuite/ld-scripts/sort_b_n_a-2.d
index 4c9d8fedfff..2fd920d9aa0 100644
--- a/ld/testsuite/ld-scripts/sort_b_n_a-2.d
+++ b/ld/testsuite/ld-scripts/sort_b_n_a-2.d
@@ -1,7 +1,7 @@ 
 #source: sort_n_a-a.s
 #source: sort_n_a-b.s
 #ld: -T sort_b_n_a.t --sort-section name
-#name: SORT_BY_NAME(SORT_BY_ALIGNMENT()) --sort-section alignment
+#name: SORT_BY_NAME(SORT_BY_ALIGNMENT()) --sort-section name
 #nm: -n
 
 #...