From 55cfb2c4c8accd5031fd7c8167988fc4624e847c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 1 Dec 2014 08:08:06 -0500 Subject: 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(). --- gdb/testsuite/gdb.python/python.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.python/python.exp') diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index 787a294..dcbc35c 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.exp @@ -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 -- cgit v1.1