From patchwork Fri May 16 13:46:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 958 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (peon2454.g.dreamhost.com [208.113.200.127]) by wilcox.dreamhost.com (Postfix) with ESMTP id 986C0360079 for ; Fri, 16 May 2014 06:46:22 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14314964) id 3D5E81A4D596; Fri, 16 May 2014 06:46:21 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx21.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id 958881A4D5A0 for ; Fri, 16 May 2014 06:46:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=En+34RJuCVuf5SYrLeiRHg7lHnkpGY+BuuIR8kNp7P20nXqFUo5hA DYlxAnNcIXomwMy8Xbp7aMPYqJz8I5o1DDBeujMHtPyEktwPF2QZ+1ZNTYc/Dbne oXOQ2KWmQFOi9oH6ImTCb/Rs4PeupZ4zSMXtuZOx95b1GaQJTPijzA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=CHV0ROZht8q7Ee78cCZohXXgcrk=; b=juy67rXJotTjr5/A/ekfuHb9N0Dh ydOXwBuLK6mZOhNsZJjHkPt7knI8tghsrsQnaSwVTBrYDjnFO4CdAo2YMArfrRRF 1u6Uak+Guv7HRJqVGbz1Q2WbsCFB9P4K8G2C0y/CFBccsgmjt82aXNvsNuwIfvxD AWcD+mF82NlEbew= Received: (qmail 1718 invoked by alias); 16 May 2014 13:46:20 -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 1705 invoked by uid 89); 16 May 2014 13:46:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 May 2014 13:46:18 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4GDkHOj014010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 16 May 2014 09:46:17 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4GDkFZC027477 for ; Fri, 16 May 2014 09:46:16 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [OB/PUSHED] mi-support.exp: Fix some pastos. Date: Fri, 16 May 2014 14:46:15 +0100 Message-Id: <1400247975-11740-1-git-send-email-palves@redhat.com> X-DH-Original-To: gdb@patchwork.siddhesh.in gdb/testsuite/ 2014-05-16 Pedro Alves * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout" instead of "unknown output after running". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/mi-support.exp | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 11c8d8e..e25e98d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-05-16 Pedro Alves + + * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout" + instead of "unknown output after running". + 2014-05-16 Yao Qi * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 1054038..afe13e8 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -1060,7 +1060,7 @@ proc mi_expect_stop { reason func args file line extra test } { pass "$test" } timeout { - fail "$test (unknown output after running)" + fail "$test (timeout)" } } return @@ -1074,7 +1074,7 @@ proc mi_expect_stop { reason func args file line extra test } { } -re ".*$mi_gdb_prompt$" {fail "continue to end (2)"} timeout { - fail "$test (unknown output after running)" + fail "$test (timeout)" } } return @@ -1088,7 +1088,7 @@ proc mi_expect_stop { reason func args file line extra test } { fail "$test (inferior not stopped)" } timeout { - fail "$test (unknown output after running)" + fail "$test (timeout)" } } return @@ -1102,7 +1102,7 @@ proc mi_expect_stop { reason func args file line extra test } { pass "$test" } timeout { - fail "$test (unknown output after running)" + fail "$test (timeout)" } } return