From: Mark Wielaard <mark@klomp.org>
To: annobin@sourceware.org
Cc: David Abdurachmanov <david.abdurachmanov@gmail.com>,
Mark Wielaard <mark@klomp.org>
Subject: [PATCH] tests/common.sh: Find ss on the PATH
Date: Mon, 25 Dec 2023 16:45:26 +0100 [thread overview]
Message-ID: <20231225154526.245255-1-mark@klomp.org> (raw)
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
next reply other threads:[~2023-12-25 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-25 15:45 Mark Wielaard [this message]
2024-01-02 9:58 ` Nick Clifton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231225154526.245255-1-mark@klomp.org \
--to=mark@klomp.org \
--cc=annobin@sourceware.org \
--cc=david.abdurachmanov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).