From 4fa982396ff9aa409d0ccf91367d9def04f5c01c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 Mar 2018 21:29:00 -0700 Subject: [PATCH] tests: port to solaris 10's /bin/sh * testsuite/runtest (test): Accommodate Solaris 10 /bin/sh by sourcing init.sh, as is already done in many other shell scripts in this directory, to handle (or skip test upon) use of this construct: ${1##*/}. Reported by Nelson H.F. Beebe. --- testsuite/runtest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/runtest b/testsuite/runtest index 18bbbe5..4afec54 100755 --- a/testsuite/runtest +++ b/testsuite/runtest @@ -6,6 +6,8 @@ # need to be compiled, but they are not stand-alone tests - # so they are skipped. +. "${srcdir=.}/testsuite/init.sh"; path_prepend_ ./sed + # Strip any leading directory names from the test name test=${1##*/}