From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id EDD023858C98 for ; Mon, 25 Dec 2023 15:47:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDD023858C98 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EDD023858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703519266; cv=none; b=jXeG7cVoUgu+9f1WnQhk3h4DF+VHD1+Slyqj6AtmIw2SIawTqXFAGrmlqdvPwVK5aRmQ8r/Q3FIhi4Q4YQIlgT9mYp/gFWHUghaH5G1bYRpSGiXmEUQFZNGsJ+zww0yFKLBxcFHYZn5qDbnUAB2bC0K5HQ+LU01xQdsEB9J8s2s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703519266; c=relaxed/simple; bh=iX5AGcZJ7oWRqsHoKfHDw/+3FLjuwaidu8Iixoz5WoE=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=i96Y6WtrplMRi3t1Bh8iTaHk/AdBtBP33mmgUoLre/0gcAjOLQyqMUweW8yZnAtUQ85h5+iH+kWBuiFqnovWDWihZCmw1KjbpySx82D0DBybH04+fO9Lygdmz8hM6PMkQtGWvmDPIf3tBrJeqYIh+ufGJOeZ2V25wrk9MplOudY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from csb.redhat.com (dhcp-089-098-125-253.chello.nl [89.98.125.253]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 47498302BB42; Mon, 25 Dec 2023 16:47:42 +0100 (CET) Received: by csb.redhat.com (Postfix, from userid 10916) id 1B8F1D0A87; Mon, 25 Dec 2023 16:47:42 +0100 (CET) From: Mark Wielaard To: annobin@sourceware.org Cc: David Abdurachmanov , Mark Wielaard Subject: [PATCH] tests/common.sh: Find ss on the PATH Date: Mon, 25 Dec 2023 16:45:26 +0100 Message-Id: <20231225154526.245255-1-mark@klomp.org> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: On Fedora based systems ss is installed in /usr/sbin. On Debian based systems ss is installed in /usr/bin. Either system has both /usr/bin and usr/sbin on the default PATH. With this the debian-i386 and ubuntu-riscv CI builders are zero fail: https://builder.sourceware.org/buildbot/#/builders?tags=annobin --- tests/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.sh b/tests/common.sh index 9699386..4c55165 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -19,7 +19,7 @@ GCC=${GCC:-gcc} OBJCOPY=${OBJCOPY:-objcopy} PLUGIN=${PLUGIN:-../../gcc-plugin/.libs/annobin.so} READELF=${READELF:-readelf} -SS=${SS:-/usr/sbin/ss} +SS=${SS:-ss} STRIP=${STRIP:-strip} # TEST_NAME must be set before including this -- 2.39.3