diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-04-20 20:41:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-27 14:41:31 +0100 |
commit | 6f45ae15f2cb25bf508906d4de4eaaac2e1aee28 (patch) | |
tree | cd183d312e3af142cfd82bdc7faf2c05d434ade8 /meta/recipes-support | |
parent | aab8d5b6a4b8f8bc00e573b047b844b65fd08c2f (diff) | |
download | poky-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.inc | 4 |
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 | ||
51 | do_install_ptest:append:libc-musl() { | ||
52 | sed -i -e 's|f: Operation n|f: N|g' ${D}${PTEST_PATH}/test/attr.test | ||
53 | } | ||
54 | |||
51 | RDEPENDS:${PN}-ptest = "attr \ | 55 | RDEPENDS:${PN}-ptest = "attr \ |
52 | bash \ | 56 | bash \ |
53 | coreutils \ | 57 | coreutils \ |