summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-01-09 20:49:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-12 11:54:05 +0000
commit912dd772859ebccbebacfdb37c6dec2111d4dfd6 (patch)
tree48ade8aea4f1ae647872c6ec1702ab4f66365aaa /meta/recipes-core/coreutils
parentf71b260094fda2068960f70aafd74798f429a2d5 (diff)
downloadpoky-912dd772859ebccbebacfdb37c6dec2111d4dfd6.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/coreutils')
-rw-r--r--meta/recipes-core/coreutils/coreutils_9.4.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_9.4.bb b/meta/recipes-core/coreutils/coreutils_9.4.bb
index f210df2e69..367b011988 100644
--- a/meta/recipes-core/coreutils/coreutils_9.4.bb
+++ b/meta/recipes-core/coreutils/coreutils_9.4.bb
@@ -210,4 +210,10 @@ do_install_ptest () {
210 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest 210 sed -i s:@libdir@:${libdir}:g ${D}${PTEST_PATH}/run-ptest
211} 211}
212 212
213do_install_ptest:append:libc-musl () {
214 # these tests fail due to bash on musl systems
215 # xmalloc: cannot allocate 16146 bytes
216 sed -i -e '/tests\/dd\/no-allocate.sh/d' ${D}${PTEST_PATH}/Makefile
217 sed -i -e '/tests\/split\/line-bytes.sh/d' ${D}${PTEST_PATH}/Makefile
218}
213FILES:${PN}-ptest += "${bindir}/getlimits" 219FILES:${PN}-ptest += "${bindir}/getlimits"