@@ -85,7 +85,7 @@ do_install_ptest() {
do_install_ptest:append:libc-musl () {
# Assumes locales other than provided by musl-locales
- sed -i '/SKIP="$SKIP.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
+ sed -i '/^SKIP="$SKIP.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
}
# Fix some paths that might be used by Tcl extensions
@@ -86,7 +86,7 @@ do_install_ptest() {
do_install_ptest:append:libc-musl () {
# Assumes locales other than provided by musl-locales
- sed -i '/SKIP="$SKIP.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
+ sed -i '/^SKIP="$SKIP.*$/a # unixInit-3* is suppressed due to hardcoded locale assumptions\nSKIP="$SKIP unixInit-3\\\*"' ${D}${PTEST_PATH}/run-ptest
}
# Fix some paths that might be used by Tcl extensions
On musl, do_install_ptest adds the unixInit-3 skip after every line of run-ptest containing SKIP="$SKIP. A SKIP set inside a case arm then gets two lines between ;; & esac, & run-ptest fails with a syntax error before running any test. The next commit adds such an arm. Signed-off-by: OOHehir <oo.hehir@gmail.com> --- meta/recipes-devtools/tcltk/tcl_9.1.0.bb | 2 +- meta/recipes-devtools/tcltk8/tcl8_8.6.18.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)