[pushed] [gdb/testsuite] Fix codespell errors in gdb.tui/debuginfod-query.exp
Tom de Vries <[email protected]> Mon, 27 Jul 2026 17:15:59 +0200
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
Fix codespell errors in test-case gdb.tui/debuginfod-query.exp for "ans" by
expanding it to "answer".
---
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
set url [start_debuginfod $db $debugdir]
@@ -256,9 +256,9 @@ with_debuginfod_env $cache {
setenv DEBUGINFOD_URLS $url
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
stop_debuginfod
}
base-commit: 96d843689b6b5532ebaf616c63c059ba1136bb67
--
2.51.0