diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-13 20:05:04 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-09-13 20:05:04 +0000 |
commit | dbd492a37708515131c212c6ed88c13cc3a3d3b0 (patch) | |
tree | 1ddbfc004b964ddf4dfe04b219fc22814044fbec /gdb | |
parent | fa1bd1e4fbf2669cc29d75e23050eba264968aab (diff) | |
download | gdb-dbd492a37708515131c212c6ed88c13cc3a3d3b0.zip gdb-dbd492a37708515131c212c6ed88c13cc3a3d3b0.tar.gz gdb-dbd492a37708515131c212c6ed88c13cc3a3d3b0.tar.bz2 |
gdb/testsuite/
Fix false FAILs on sourcetree topdir directory containing "kill".
* gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
source line matching regexp.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/sigall.exp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 82e9f9e..a2a4eee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com> + + Fix false FAILs on sourcetree topdir directory containing "kill". + * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the + source line matching regexp. + 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.python/python.exp (set height 0, collect help from uiout) diff --git a/gdb/testsuite/gdb.base/sigall.exp b/gdb/testsuite/gdb.base/sigall.exp index 1fbf3e5..bf6f1d7 100644 --- a/gdb/testsuite/gdb.base/sigall.exp +++ b/gdb/testsuite/gdb.base/sigall.exp @@ -94,11 +94,11 @@ proc test_one_sig {nextsig} { if { $missed_handler == "0" } then { gdb_test_multiple "signal 0" "advance to $nextsig" { - -re "Breakpoint.*gen_$nextsig.*kill.*$gdb_prompt $" { + -re "Breakpoint.*gen_$nextsig.*\r\n\[0-9\]+\[ \t\]+kill \\(.*\r\n$gdb_prompt $" { pass "advance to $nextsig" set sig_supported 1 } - -re "Breakpoint.*gen_$nextsig.*handle.*$gdb_prompt $" { + -re "Breakpoint.*gen_$nextsig.*\r\n\[0-9\]+\[ \t\]+handle_.*\r\n$gdb_prompt $" { pass "advance to $nextsig" set sig_supported 0 } |