diff options
author | Tom Tromey <tromey@adacore.com> | 2023-11-14 11:47:27 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-11-14 11:47:27 -0700 |
commit | 1146d27749f4411e6909637429ed0fc636aeee32 (patch) | |
tree | 550bbef0b4c371ea8ef053fd05c289ba0d0543df /gdb/testsuite/gdb.python/py-missing-debug.exp | |
parent | c748dbd95bf3305539956053c2a25ecea7b442a5 (diff) | |
download | binutils-1146d27749f4411e6909637429ed0fc636aeee32.zip binutils-1146d27749f4411e6909637429ed0fc636aeee32.tar.gz binutils-1146d27749f4411e6909637429ed0fc636aeee32.tar.bz2 |
Remove path name from test case
'runtest' complains about a path in a test name, from the new test
case py-missing-debug.exp.
This patch fixes the problem by providing an explicit test name to
gdb_test. I chose something very basic because the block in question
is already wrapped in with_test_prefix.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-missing-debug.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-missing-debug.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-missing-debug.exp b/gdb/testsuite/gdb.python/py-missing-debug.exp index 3e0d70b..0d73d2b 100644 --- a/gdb/testsuite/gdb.python/py-missing-debug.exp +++ b/gdb/testsuite/gdb.python/py-missing-debug.exp @@ -321,7 +321,8 @@ with_test_prefix "enable 'abc-def'" { set re [string_to_regexp $binfile] gdb_test "enable missing-debug-handler \"$re\" abc-def" \ - "^1 missing debug handler enabled" + "^1 missing debug handler enabled" \ + "enable missing-debug-handler" gdb_test "info missing-debug-handlers" \ [multi_line \ |