From: Khem Raj Date: Fri, 21 Apr 2023 03:41:31 +0000 (-0700) Subject: attr: Disable attr.test on musl X-Git-Tag: uninative-3.10~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29ce2f571fa38646e5d2000a502eed040cae1c0;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git attr: Disable attr.test on musl the error message in musl based systems is EXPECTED: Operation not supported RECIEVED: Not supported The test is then marked as failed due to this. Ignore this test on musl Signed-off-by: Khem Raj Signed-off-by: Luca Ceresoli --- diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index ab62563690b..8ba865a74a0 100644 --- a/meta/recipes-support/attr/attr.inc +++ b/meta/recipes-support/attr/attr.inc @@ -48,6 +48,10 @@ do_install_ptest() { cp -rf ${S}/test/ ${D}${PTEST_PATH} } +do_install_ptest:append:libc-musl() { + sed -i -e 's|f: Operation n|f: N|g' ${D}${PTEST_PATH}/test/attr.test +} + RDEPENDS:${PN}-ptest = "attr \ bash \ coreutils \