From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9319 invoked by alias); 27 Mar 2013 20:44:23 -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 8825 invoked by uid 89); 27 Mar 2013 20:44:16 -0000 X-Spam-SWARE-Status: No, score=-8.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 27 Mar 2013 20:44:14 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2RKiDsg022224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Mar 2013 16:44:13 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2RKiBqh010524 for ; Wed, 27 Mar 2013 16:44:12 -0400 Subject: [PATCH 2/4] list.exp: Adjust "set listsize -1" to current test source's real line count. To: gdb-patches@sourceware.org From: Pedro Alves Date: Thu, 28 Mar 2013 06:09:00 -0000 Message-ID: <20130327204411.24420.47306.stgit@brno.lan> In-Reply-To: <20130327204357.24420.94722.stgit@brno.lan> References: <20130327204357.24420.94722.stgit@brno.lan> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-03/txt/msg01043.txt.bz2 The "set listsize -1" test in list.exp can't work correct anymore nowadays, because the test's source files grew over time, and this particular test was never updated. This fixes it in the obvious way. gdb/testsuite/ 2013-03-21 Pedro Alves * gdb.base/list.exp (test_listsize): Adjust test to make sure we list the whole file. --- gdb/testsuite/gdb.base/list.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/list.exp b/gdb/testsuite/gdb.base/list.exp index 8684b0c..97cca91 100644 --- a/gdb/testsuite/gdb.base/list.exp +++ b/gdb/testsuite/gdb.base/list.exp @@ -138,7 +138,7 @@ proc test_listsize {} { set_listsize -1 setup_xfail "*-*-*" - gdb_test "list 1" "1\[ \t\]+#include .*\r\n39\[ \t\]+\}" "list line 1 with unlimited listsize" + gdb_test "list 1" "1\[ \t\]+#include .*\r\n43\[ \t\]+\}" "list line 1 with unlimited listsize" } #