[COMMITTED] tests: Use bash for run-debuginfod-client-profile.sh

Mark Wielaard mark@klomp.org
Wed Mar 27 14:34:18 GMT 2024


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



More information about the Elfutils-devel mailing list