diff --git a/src/cmd/ksh93/tests/shtests b/src/cmd/ksh93/tests/shtests index 654201047..c76027d4f 100755 --- a/src/cmd/ksh93/tests/shtests +++ b/src/cmd/ksh93/tests/shtests @@ -308,7 +308,8 @@ then if [[ -x $SHELL-g ]] fi typeset -A tests for i in ${*-*.sh} -do if [[ ! -r $i ]] +do [[ $i == *.sh ]] || i+='.sh' + if [[ ! -r $i ]] then echo $0: $i: not found >&2 continue fi