summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-04-20 20:41:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-27 14:41:26 +0100
commitb29ce2f571fa38646e5d2000a502eed040cae1c0 (patch)
tree200daafc82ae2d170a96e26c284b180b7077e02a /meta/recipes-support/attr
parent1179ab508b9cf6492d9c92887c11a8030e8a9763 (diff)
downloadopenembedded-core-b29ce2f571fa38646e5d2000a502eed040cae1c0.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'meta/recipes-support/attr')
-rw-r--r--meta/recipes-support/attr/attr.inc4
1 files changed, 4 insertions, 0 deletions
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 \