Fix Python help() test for Python 3
The message displayed when using help() changed a bit with time, so this adjusts the test accordingly. gdb/testsuite/ChangeLog: * gdb.python/python.exp: Change expected reply to help().
This commit is contained in:
parent
ac3d87c0d2
commit
55cfb2c4c8
@ -1,3 +1,7 @@
|
||||
2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* gdb.python/python.exp: Change expected reply to help().
|
||||
|
||||
2014-12-01 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
|
||||
|
@ -67,7 +67,7 @@ gdb_py_test_multiple "multi-line python command" \
|
||||
with_test_prefix "python interactive help" {
|
||||
set test "python; help(); end"
|
||||
gdb_test_multiple "python\nhelp()\nend" $test {
|
||||
-re "online help utility.*help> $" {
|
||||
-re ".*help utility.*help> $" {
|
||||
pass $test
|
||||
|
||||
# The "quit" must be seen on the output. A buggy GDB
|
||||
|
Loading…
Reference in New Issue
Block a user