summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
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:31 +0100
commit6f45ae15f2cb25bf508906d4de4eaaac2e1aee28 (patch)
treecd183d312e3af142cfd82bdc7faf2c05d434ade8 /meta/recipes-support
parentaab8d5b6a4b8f8bc00e573b047b844b65fd08c2f (diff)
downloadpoky-6f45ae15f2cb25bf508906d4de4eaaac2e1aee28.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 (From OE-Core rev: b29ce2f571fa38646e5d2000a502eed040cae1c0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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() {
48 cp -rf ${S}/test/ ${D}${PTEST_PATH} 48 cp -rf ${S}/test/ ${D}${PTEST_PATH}
49} 49}
50 50
51do_install_ptest:append:libc-musl() {
52 sed -i -e 's|f: Operation n|f: N|g' ${D}${PTEST_PATH}/test/attr.test
53}
54
51RDEPENDS:${PN}-ptest = "attr \ 55RDEPENDS:${PN}-ptest = "attr \
52 bash \ 56 bash \
53 coreutils \ 57 coreutils \