coreutils: Ignore line-bytes.sh and no-allocate tests on musl

bash fails in xmalloc when running these tests. More thorough
investigation may reveal real cause, however, it seems to fail on
other musl distros as well.

(From OE-Core rev: cd31bb507bfb794379950dd0aa38b810ba194d2f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2024-01-09 20:49:41 -08:00
committed by Richard Purdie
parent f71b260094
commit 912dd77285

View File

@@ -210,4 +210,10 @@ do_install_ptest () {
sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
}
do_install_ptest:append:libc-musl () {
# these tests fail due to bash on musl systems
# xmalloc: cannot allocate 16146 bytes
sed -i -e '/tests\/dd\/no-allocate.sh/d' ${D}${PTEST_PATH}/Makefile
sed -i -e '/tests\/split\/line-bytes.sh/d' ${D}${PTEST_PATH}/Makefile
}
FILES:${PN}-ptest += "${bindir}/getlimits"