[applied] tests/trun.sh.in: Specifically use bash in this script that uses bash-isms.

Message ID 87tsny2k9r.fsf@seketeli.org
State New
Headers
Series [applied] tests/trun.sh.in: Specifically use bash in this script that uses bash-isms. |

Commit Message

Dodji Seketeli Sept. 9, 2026, 9:21 p.m. UTC
  Hello,

The script tests/trun.sh uses the construct "args=${@:2}" which is a
bash-ism.  As Debian does not necessarily use /bin/bash by default, we
need specify it explicitly.  Fixed thus and applied to the master
branch.

	* tests/trun.sh.in: Use /bin/bash for this script.

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
 tests/trun.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/trun.sh.in b/tests/trun.sh.in
index 64879305..1cae26bd 100644
--- a/tests/trun.sh.in
+++ b/tests/trun.sh.in
@@ -1,4 +1,4 @@ 
-#!/bin/sh -x
+#!/bin/bash -x
 
 srcdir=@abs_top_srcdir@
 program_to_run=$1