Index: share/mk/atf.test.mk =================================================================== --- share/mk/atf.test.mk +++ share/mk/atf.test.mk @@ -97,8 +97,11 @@ # this proves to be useful within the tests. ATF_TESTS_KSH93_SED_${_T}?= # empty ATF_TESTS_KSH93_SRC_${_T}?= ${_T}.sh +# Note: The ATF_TESTS_KSH93 scripts are actually POSIX sh scripts that invoke +# ksh93 scripts. Setting the interpreter to /usr/local/bin/ksh93 breaks +# `kyua list` as it tries to invoke the script with a non-existent interpreter. ${_T}: ${ATF_TESTS_KSH93_SRC_${_T}} - echo '#! /usr/libexec/atf-sh -s/usr/local/bin/ksh93' > ${.TARGET}.tmp + echo '#! /usr/libexec/atf-sh' > ${.TARGET}.tmp .if empty(ATF_TESTS_KSH93_SED_${_T}) cat ${.ALLSRC:N*Makefile*} >>${.TARGET}.tmp .else