diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-01-22 21:49:38 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2016-01-22 21:49:38 +0100 |
commit | 092127d743462e370fd1156cb746f814a7b46593 (patch) | |
tree | 456f3c08cb3f5718e043851ceba8f15d7bee195e /gdb/testsuite | |
parent | 31d765d3801c63a66312023181edb3af25c03598 (diff) | |
download | gdb-092127d743462e370fd1156cb746f814a7b46593.zip gdb-092127d743462e370fd1156cb746f814a7b46593.tar.gz gdb-092127d743462e370fd1156cb746f814a7b46593.tar.bz2 |
testsuite: gdb.gdb/selftest.exp: Drop expected Thread number
Pedro Alves:
Looks like you forgot to amend before pushing though -- the version
checked in still had "Thread 1".
gdb/testsuite/ChangeLog
2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <palves@redhat.com>
Fix testsuite compatibility with Guile.
* gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
number.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/testsuite/gdb.gdb/selftest.exp | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5e99adf..8f7dc6d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,4 +1,11 @@ 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> + Pedro Alves <palves@redhat.com> + + Fix testsuite compatibility with Guile. + * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread + number. + +2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> Fix testsuite compatibility with Guile. * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread. diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 3d98a0c..969797a 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -438,7 +438,7 @@ proc test_with_self { executable } { send_gdb "\003" # "Thread 1" is displayed iff Guile support is linked in. gdb_expect { - -re "(Thread 1 .*|Program) received signal SIGINT.*$gdb_prompt $" { + -re "(Thread .*|Program) received signal SIGINT.*$gdb_prompt $" { pass "$description" } -re ".*$gdb_prompt $" { |