public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] tests: Use bash for run-debuginfod-client-profile.sh
@ 2024-03-27 14:34 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2024-03-27 14:34 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Mark Wielaard

The test uses set -o pipefail which is a bashism and so the test fails
on systems where /bin/sh isn't bash.

    * tests/run-debuginfod-client-profile.sh: Use bash.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 tests/run-debuginfod-client-profile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/run-debuginfod-client-profile.sh b/tests/run-debuginfod-client-profile.sh
index 7435ced83f15..141588d391ea 100755
--- a/tests/run-debuginfod-client-profile.sh
+++ b/tests/run-debuginfod-client-profile.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/env bash
 # Copyright (C) 2024 Mark J. Wielaard
 # This file is part of elfutils.
 #
-- 
2.44.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-27 14:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 14:34 [COMMITTED] tests: Use bash for run-debuginfod-client-profile.sh Mark Wielaard

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).