From patchwork Wed Nov 26 04:36:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 3929 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-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@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: Tue, 25 Nov 2014 23:36:00 -0500 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 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