From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6DBxIMdU1GGvIwAAWB0awg (envelope-from ) for ; Tue, 04 Jan 2022 09:08:07 -0500 Received: by simark.ca (Postfix, from userid 112) id 8190B1F0DB; Tue, 4 Jan 2022 09:08:07 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0E96B1ECEB for ; Tue, 4 Jan 2022 09:08:07 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A7C63385843B for ; Tue, 4 Jan 2022 14:08:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7C63385843B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1641305286; bh=GmvpJkYNYWwuDrXva1WeSoca5Lb4cxOCYYdjK8ABXC0=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=qIvvxpb4nyjyc91DvaysLrdtwyKtjBKLa+ZEVRjPUyv3vaLFhpJ1B45EmEGPN1rkg 0NZ2PH9uj5lat9WUxhY6ZQNcu0Ne7ClgvXTyYA8QzkWZeVfL+nAspCkoT+Syj3VNWr 55A/wUCj+Ml1vdul+x6WgA/rpxRlqK1dYpiBrcdw= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 6BD4C3858406 for ; Tue, 4 Jan 2022 14:07:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6BD4C3858406 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-664-iLRb4NLjNf-1ePVQlym6hQ-1; Tue, 04 Jan 2022 09:07:47 -0500 X-MC-Unique: iLRb4NLjNf-1ePVQlym6hQ-1 Received: by mail-wr1-f69.google.com with SMTP id g6-20020adfbc86000000b001a2d62be244so10451409wrh.23 for ; Tue, 04 Jan 2022 06:07:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=HKnDchJy0/eaxfRfpsiCW6iMUm4sFOJnaQqD1JsK/ok=; b=BvpQabdHDttRQGp8Zr7ZAZQGxhHINGIiUvQBZbqD6wGjvzda7fTH7gd4DjcFesDH8t XDAf6uxaUtlEpeIWG43Jsjc5hXV+7/b7+c3dekaMdoHB4DyudTOlOBAeOnrbIT1bBgXs HH6IPF5rG31A5BLpkkKCYlzcQ0UJnF6Alrt+wOIcGPDBRG0VDK+Jv2Ob87DGHmCoyZ7P 3uvuHn7W5s+Ny6SepeAwpuNRi3L5sBih+0DCGuOWIgUOESZfgByUun0H6qfSmN6UwIjT vSm51k0193APKOd9V7B/m7VThwBI7r8W6eMgY4lRQBxHL9NawrxtSWIzmtDrQ6G3NKvu NANg== X-Gm-Message-State: AOAM533EX3BeWwFKjUk+144E1xWfk7c/dZKw9rjc6Nql/KZBMwLqpGsB WjHsaQSIGg4RypxO8+35/fhzn2SauqriGykSMaV9syC/tu5phFQwue0T7qEfsbQrNGJGyD8KuTn Wj8nj0lqhZk7uc0zMGTTkqw== X-Received: by 2002:a5d:6d49:: with SMTP id k9mr34694020wri.530.1641305265729; Tue, 04 Jan 2022 06:07:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLW6Ild4SsaYHMh4ogyZJ6MDDe4nKRKPOQTOmzsjRKwDGbnQ+QmIfCM8joFvY+xsEolIpPIg== X-Received: by 2002:a5d:6d49:: with SMTP id k9mr34694010wri.530.1641305265515; Tue, 04 Jan 2022 06:07:45 -0800 (PST) Received: from localhost (host109-154-163-67.range109-154.btcentralplus.com. [109.154.163.67]) by smtp.gmail.com with ESMTPSA id bh10sm39525723wmb.12.2022.01.04.06.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 06:07:45 -0800 (PST) Date: Tue, 4 Jan 2022 14:07:44 +0000 To: Lancelot SIX Subject: Re: [PATCH 05/29] gdb/testsuite: Remove duplicates from gdb.base/pie-fork.exp Message-ID: <20220104140744.GF1845520@redhat.com> References: <20211121175636.779325-1-lsix@lancelotsix.com> <20211121175636.779325-6-lsix@lancelotsix.com> MIME-Version: 1.0 In-Reply-To: <20211121175636.779325-6-lsix@lancelotsix.com> X-Operating-System: Linux/5.8.18-100.fc31.x86_64 (x86_64) X-Uptime: 14:07:32 up 2 days, 23:01, X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrew Burgess via Gdb-patches Reply-To: Andrew Burgess Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" * Lancelot SIX via Gdb-patches [2021-11-21 17:= 56:12 +0000]: > When running the testsuite, I=A0have: >=20 > Running .../gdb/testsuite/gdb.base/pie-fork.exp ... > DUPLICATE: gdb.base/pie-fork.exp: test_no_detach_on_fork: continue >=20 > Fix by giving explicit names to the 'continue' commands that cause the > duplicate message. >=20 > Tested on x86_64-linux. LGTM. Thanks, Andrew > --- > gdb/testsuite/gdb.base/pie-fork.exp | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >=20 > diff --git a/gdb/testsuite/gdb.base/pie-fork.exp b/gdb/testsuite/gdb.base= /pie-fork.exp > index 2bbdaa48be9..0910da18b42 100644 > --- a/gdb/testsuite/gdb.base/pie-fork.exp > +++ b/gdb/testsuite/gdb.base/pie-fork.exp > @@ -54,9 +54,11 @@ proc_with_prefix test_detach_on_fork_follow_child {} { > proc_with_prefix test_no_detach_on_fork {} { > setup_test "off" > =20 > - gdb_test "continue" "\r\nThread 1.1 .* hit Breakpoint 2, break_here.= *" > + gdb_test "continue" "\r\nThread 1.1 .* hit Breakpoint 2, break_here.= *" \ > +=09 "continue from thread 1.1" > gdb_test "thread 2.1" > - gdb_test "continue" "\r\nThread 2.1 .* hit Breakpoint 2, break_here.= *" > + gdb_test "continue" "\r\nThread 2.1 .* hit Breakpoint 2, break_here.= *" \ > +=09 "continue from thread 2.1" > } > =20 > test_detach_on_fork_follow_parent > --=20 > 2.33.1 >=20