From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20660 invoked by alias); 26 Nov 2014 04:36:08 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 20640 invoked by uid 89); 26 Nov 2014 04:36:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.electronicbox.net Received: from smtp.electronicbox.net (HELO smtp.electronicbox.net) (96.127.255.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 26 Nov 2014 04:36:05 +0000 Received: from simark.localdomain (unknown [96.127.221.218]) by smtp.electronicbox.net (Postfix) with ESMTP id D8728DF37F; Tue, 25 Nov 2014 23:31:28 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: simon.marchi@polymtl.ca, Simon Marchi Subject: [PATCH 2/3] Fix Python help() test for Python 3 Date: Wed, 26 Nov 2014 04:36:00 -0000 Message-Id: <1416976561-1927-2-git-send-email-simon.marchi@ericsson.com> In-Reply-To: <1416976561-1927-1-git-send-email-simon.marchi@ericsson.com> References: <1416976561-1927-1-git-send-email-simon.marchi@ericsson.com> X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00643.txt.bz2 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(-) diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index 787a294..7b4a5b8 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 "Welcome to Python.*help utility.*help> $" { pass $test # The "quit" must be seen on the output. A buggy GDB -- 2.1.3