diff options
author | Tom de Vries <tdevries@suse.de> | 2018-06-11 15:35:54 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2018-06-13 14:10:02 +0200 |
commit | c75d3d4144fa8b5312bf581451bf800251b7bd71 (patch) | |
tree | bc79e5d2f9773dc4437a650b4612f969230e0552 /gdb | |
parent | 7a486e6d2ec4aff56cf280dbad18f3f651f45714 (diff) | |
download | gdb-c75d3d4144fa8b5312bf581451bf800251b7bd71.zip gdb-c75d3d4144fa8b5312bf581451bf800251b7bd71.tar.gz gdb-c75d3d4144fa8b5312bf581451bf800251b7bd71.tar.bz2 |
[gdb/testsuite] Update gdb startup text in selftest.exp
Atm selftest.exp fails for me.
One of the reasons is that in c61b06a19a34baab66e3809c7b41b0c31009ed9f (Remove
some text from --version output) an eol was added after "There is NO
WARRANTY, to the extent permitted by law".
This patch updates the matching of the gdb startup message in selftest.exp
accordingly.
Tested selftest.exp (with two other selftest.exp related fixes applied).
2018-06-12 Tom de Vries <tdevries@suse.de>
* gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.gdb/selftest.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 20f3498..314bddb 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -66,7 +66,7 @@ proc test_with_self { } { set test "xgdb is at prompt" gdb_test_multiple "continue" $test { -i "$inferior_spawn_id" - -re "GNU gdb \[0-9\.\]*.*Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc.*License GPLv3\\+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.*This is free software: you are free to change and redistribute it.*There is NO WARRANTY, to the extent permitted by law. Type \"show copying\".*and \"show warranty\" for details.*This GDB was configured as .*$gdb_prompt $" { + -re "GNU gdb \[0-9\.\]*.*Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc.*License GPLv3\\+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.*This is free software: you are free to change and redistribute it.*There is NO WARRANTY, to the extent permitted by law\..*Type \"show copying\".*and \"show warranty\" for details.*This GDB was configured as .*$gdb_prompt $" { pass $test } } |