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:
1 parent
290c59315b
commit
4fa982396f
1 file changed
+2
@@ -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##*/}
|
||||
|
||||
|
||||
Reference in new issue
Block a user