From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CBcjInEx5l93cQAA0tVLHw (envelope-from ) for ; Fri, 25 Dec 2020 18:37:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6K0AHnEx5l9zWAAA1q6Kng (envelope-from ) for ; Fri, 25 Dec 2020 18:37:37 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 477269404E5 for ; Fri, 25 Dec 2020 18:37:37 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D922E29CD0; Fri, 25 Dec 2020 13:37:33 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 14D0328536 for ; Fri, 25 Dec 2020 13:37:31 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 09E6F5FC36; Fri, 25 Dec 2020 13:37:31 -0500 (EST) Received: (nullmailer pid 946967 invoked by uid 1000); Fri, 25 Dec 2020 18:37:30 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [PATCH] test/T360-symbol-hiding.sh: trim extra output from readelf In-Reply-To: <20201215204509.4177831-1-david@tethera.net> References: <20201215204509.4177831-1-david@tethera.net> Date: Fri, 25 Dec 2020 14:37:30 -0400 Message-ID: <87h7o991g5.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: GCVS35LCQ7VSV4R2BBVYRW54ZX7G4LS6 X-Message-ID-Hash: GCVS35LCQ7VSV4R2BBVYRW54ZX7G4LS6 X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 477269404E5 X-Spam-Score: -0.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: s7afDfTaAWno David Bremner writes: > readelf on (at least) ppc64le generates symbol versioning (sometimes) > at the end of the line inside '()' and some extension to the Ndx name > inside '[]'. Remove this output to allow our simple column based > parsing to work. Simplified version (thanks Tomi) applied. d