* [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* [PATCH 2/3] acl: Disable misc.test on musl
2023-04-21 3:41 [PATCH 1/3] attr: Disable attr.test on musl Khem Raj
@ 2023-04-21 3:41 ` Khem Raj
2023-04-21 3:41 ` [PATCH 3/3] fts: Fix typo in summary Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2023-04-21 3:41 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
misc.test fails on musl due to nftw order, ignore it for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/attr/acl_2.3.1.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-support/attr/acl_2.3.1.bb b/meta/recipes-support/attr/acl_2.3.1.bb
index 9cb19ed72f..9badd33254 100644
--- a/meta/recipes-support/attr/acl_2.3.1.bb
+++ b/meta/recipes-support/attr/acl_2.3.1.bb
@@ -61,6 +61,10 @@ do_install_ptest() {
rm ${D}${PTEST_PATH}/.libs/libtestlookup.lai
}
+do_install_ptest:append:libc-musl() {
+ sed -i -e '/test\/misc.test/d' ${D}${PTEST_PATH}/Makefile
+}
+
RDEPENDS:${PN}-ptest = "acl \
bash \
coreutils \
--
2.40.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 3/3] fts: Fix typo in summary
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 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2023-04-21 3:41 UTC (permalink / raw)
To: openembedded-core; +Cc: Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-core/fts/fts_1.2.7.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/fts/fts_1.2.7.bb b/meta/recipes-core/fts/fts_1.2.7.bb
index d3b0f31eda..10103830af 100644
--- a/meta/recipes-core/fts/fts_1.2.7.bb
+++ b/meta/recipes-core/fts/fts_1.2.7.bb
@@ -1,7 +1,7 @@
# Copyright (C) 2015 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
-SUMMARY = "Implementation of ftsfor musl libc packages"
+SUMMARY = "Implementation of fts for musl libc packages"
HOMEPAGE = "https://github.com/pullmoll/musl-fts"
DESCRIPTION = "The musl-fts package implements the fts(3) functions fts_open, fts_read, fts_children, fts_set and fts_close, which are missing in musl libc."
LICENSE = "BSD-3-Clause"
--
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