[binutils-gdb] [gdb/testsuite] Fix codespell errors in gdb.tui/debuginfod-query.exp

Tom de Vries via Gdb-cvs <[email protected]> Mon, 27 Jul 2026 15:15:50 +0000 (GMT)
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D255e8e719488=
acaab6be8df1ce93b9c7ff9bb33d

commit 255e8e719488acaab6be8df1ce93b9c7ff9bb33d
Author: Tom de Vries <[email protected]>
Date:   Mon Jul 27 17:15:45 2026 +0200

    [gdb/testsuite] Fix codespell errors in gdb.tui/debuginfod-query.exp
   =20
    Fix codespell errors in test-case gdb.tui/debuginfod-query.exp for "ans=
" by
    expanding it to "answer".

Diff:
---
 gdb/testsuite/gdb.tui/debuginfod-query.exp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/testsuite/gdb.tui/debuginfod-query.exp b/gdb/testsuite/gdb=
.tui/debuginfod-query.exp
index 0f7a19dfc51..98d61850842 100644
--- a/gdb/testsuite/gdb.tui/debuginfod-query.exp
+++ b/gdb/testsuite/gdb.tui/debuginfod-query.exp
@@ -243,7 +243,7 @@ set modes {command keys}
 with_debuginfod_env $cache {
     save_vars { env(DEBUGINFOD_URLS) } {
 	foreach_with_prefix how $modes {
-	    foreach_with_prefix ans { n y } {
+	    foreach_with_prefix answer { n y } {
 		file delete -force $cache
=20
 		set url [start_debuginfod $db $debugdir]
@@ -256,9 +256,9 @@ with_debuginfod_env $cache {
 		setenv DEBUGINFOD_URLS $url
=20
 		foreach_with_prefix fill_screen { true false } {
-		    run_switch_with_prompt_test $how $ans $fill_screen
+		    run_switch_with_prompt_test $how $answer $fill_screen
 		}
-		run_switch_to_asm_test $how $ans
+		run_switch_to_asm_test $how $answer
=20
 		stop_debuginfod
 	    }