From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id 59A5C3857BB3 for ; Tue, 26 Sep 2023 13:56:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 59A5C3857BB3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from eig-obgw-6008a.ext.cloudfilter.net ([10.0.30.227]) by cmsmtp with ESMTP id l7Qxq6uGSEoVsl8XlqeNPW; Tue, 26 Sep 2023 13:56:05 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id l8XkqKxIUY7bHl8XkqvP0I; Tue, 26 Sep 2023 13:56:04 +0000 X-Authority-Analysis: v=2.4 cv=UILOoQTy c=1 sm=1 tr=0 ts=6512e2f4 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=zNV7Rl7Rt7sA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=zstS-IiYAAAA:8 a=mNWwjfmOf_FbVDoz7k8A:9 a=ul9cdbp4aOFLsgKbc677:22 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=A/MAFTNZJCgSxjYyVAasDfpehRiF0ZG71BAFk2KdDSc=; b=j5L4KlDuTBYhh2kDm4oLmK2Vh8 tMIuujsv3hkOFkldB9OQmpttla1m1N5xVWrXgNienH/mLrzqhKjz8xsBziKATBnVPRCEJVmhh1amH 3UIYZHM4aLde8OAqPgQo5ONRA; Received: from 71-211-130-31.hlrn.qwest.net ([71.211.130.31]:45990 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ql8Xj-000IAu-2l; Tue, 26 Sep 2023 07:56:03 -0600 From: Tom Tromey To: Tom de Vries via Gdb-patches Cc: Tom de Vries Subject: Re: [PATCH] [gdb/testsuite] Fix gdb.server/ext-run.exp in container References: <20230926134050.16994-1-tdevries@suse.de> X-Attribution: Tom Date: Tue, 26 Sep 2023 07:56:03 -0600 In-Reply-To: <20230926134050.16994-1-tdevries@suse.de> (Tom de Vries via Gdb-patches's message of "Tue, 26 Sep 2023 15:40:50 +0200") Message-ID: <874jjh598s.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.130.31 X-Source-L: No X-Exim-ID: 1ql8Xj-000IAu-2l X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-130-31.hlrn.qwest.net (murgatroyd) [71.211.130.31]:45990 X-Source-Auth: tom+tromey.com X-Email-Count: 7 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfGVffxRwQqbAwHymvFz16QYq7e6wY/zJQdogXUEl0qJdYznXSg/nxQZM8MlJguxK2Q5aQdQE+FY9wr5BbzKPXBojHiVAGL+NXI/V9vO9FjX1GEUiPbIH lXKHbPiqmkQdohNQ65OdAZ8nDGZcAnMjLSD8PW/q4PsMyNSTDhP8Qdmi2rKJzW4tEjs8+wJ6r29x9L9D8VRDj9SXduEowEdGiVg= X-Spam-Status: No, score=-3018.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom de Vries via Gdb-patches writes: Tom> When running the gdb testsuite inside a container, I run into: Tom> ... Tom> (gdb) gdb_expect_list pattern: /1 +root +[/a-z]*(init|systemd)/ Tom> FAIL: gdb.server/ext-run.exp: get process list (pattern 2) Tom> ... Tom> because there's no process with pid 1 and cmd init or systemd. ... Tom> Fix this by also accepting bash as a valid cmd. This seems totally fine to me, since IIUC the precise image here doesn't matter at all to the test. Approved-By: Tom Tromey Tom