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

Dodji Seketeli dodji@seketeli.org
Wed Sep 9 21:21:36 GMT 2026


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

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
-- 
2.55.0


-- 
		Dodji


More information about the Libabigail mailing list