public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/3] attr: Disable attr.test on musl
@ 2023-04-21  3:41 Khem Raj
  2023-04-21  3:41 ` [PATCH 2/3] acl: Disable misc.test " Khem Raj
  2023-04-21  3:41 ` [PATCH 3/3] fts: Fix typo in summary Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2023-04-21  3:41 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-21  3:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21  3:41 [PATCH 1/3] attr: Disable attr.test on musl Khem Raj
2023-04-21  3:41 ` [PATCH 2/3] acl: Disable misc.test " Khem Raj
2023-04-21  3:41 ` [PATCH 3/3] fts: Fix typo in summary Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox