From 6f45ae15f2cb25bf508906d4de4eaaac2e1aee28 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 20 Apr 2023 20:41:31 -0700 Subject: 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 (From OE-Core rev: b29ce2f571fa38646e5d2000a502eed040cae1c0) Signed-off-by: Khem Raj Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/recipes-support/attr/attr.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc index ab62563690..8ba865a74a 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 \ -- cgit v1.2.3-54-g00ecf