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>
This commit is contained in:
Khem Raj
2023-04-20 20:41:31 -07:00
committed by Richard Purdie
parent aab8d5b6a4
commit 6f45ae15f2

View File

@@ -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 \