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.
This commit is contained in:
Jim Meyering committed 2018-03-27 21:40:06 -07:00
1 parent 290c59315b
commit 4fa982396f
1 file changed
+2
+2
View File
@@ -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##*/}