diff options
author | Tom de Vries <tdevries@suse.de> | 2021-06-08 10:04:44 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-06-08 10:04:44 +0200 |
commit | ac6c175edd1f4574afbac8606e4954e83d061821 (patch) | |
tree | 10443d82deb7b5ab6d5904b9138cf966253806db /texinfo | |
parent | 25ff4de715741c889efba6340cc3c508113ed2f2 (diff) | |
download | gdb-ac6c175edd1f4574afbac8606e4954e83d061821.zip gdb-ac6c175edd1f4574afbac8606e4954e83d061821.tar.gz gdb-ac6c175edd1f4574afbac8606e4954e83d061821.tar.bz2 |
[gdb/testsuite] Simplify gdb.base/sect-cmd.exp
While looking at gdb.base/sect-cmd.exp, I noticed a few things that can be
simplified:
- use gdb_test instead of gdb_test_multiple
- use -wrap "" as regexp
Also, I noticed this:
...
fail "$gdb_test_name, saw not found marker"
...
while our usual test naming scheme uses parentheses, like so:
...
fail "$gdb_test_name (saw not found marker)"
...
Fix the test-name and do the simplifications.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2021-06-08 Tom de Vries <tdevries@suse.de>
* gdb.base/sect-cmd.exp: Use gdb_test. Use -wrap "". Fix
test name.
Diffstat (limited to 'texinfo')
0 files changed, 0 insertions, 0 deletions