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

Message ID 20240327143418.127225-1-mark@klomp.org
State Committed
Headers
Series [COMMITTED] tests: Use bash for run-debuginfod-client-profile.sh |

Commit Message

Mark Wielaard March 27, 2024, 2:34 p.m. UTC
  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(-)
  

Patch

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