From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH] acl: restore ptest
Date: Tue, 17 Nov 2026 20:04:53 +0100 [thread overview]
Message-ID: <20261117190453.3968101-1-alex.kanavin@gmail.com> (raw)
From: Alexander Kanavin <alex@linutronix.de>
There was a regression in 2.4.0 version update where no tests were run anymore
and that wasn't detected, as acl test harness (./run) returns a success code
when passed in a bogus testcase name, and run-ptest then prints PASS: for it.
Upstream has renamed tests from .test to .run, adjust accordingly.
Obtain a list of tests from final Makefile, as getting them from automake
originals also silently returns nothing.
Add misc.run to the list of problematic tests as it now fails
similarly to the other excluded tests.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
meta/recipes-support/attr/acl/run-ptest | 2 +-
meta/recipes-support/attr/acl_2.4.0.bb | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-support/attr/acl/run-ptest b/meta/recipes-support/attr/acl/run-ptest
index f28d8c12122..88dae09fbd1 100644
--- a/meta/recipes-support/attr/acl/run-ptest
+++ b/meta/recipes-support/attr/acl/run-ptest
@@ -4,7 +4,7 @@ failed=0
all=0
-for f in *.test; do
+for f in *.run; do
LD_PRELOAD=$(pwd)/libtestlookup.so ./run $f
case "$?" in
0)
diff --git a/meta/recipes-support/attr/acl_2.4.0.bb b/meta/recipes-support/attr/acl_2.4.0.bb
index d470989acc5..a257542185a 100644
--- a/meta/recipes-support/attr/acl_2.4.0.bb
+++ b/meta/recipes-support/attr/acl_2.4.0.bb
@@ -37,16 +37,16 @@ do_install_ptest() {
install -m644 ${S}/test/*.acl ${D}${PTEST_PATH}/
# Install the tests
- for t in $(makefile-getvar ${S}/test/Makemodule.am TESTS); do
+ for t in $(makefile-getvar ${B}/Makefile TESTS); do
install -m644 ${S}/$t ${D}${PTEST_PATH}/
done
# Remove the tests that are expected to fail (they need a NFS server configured)
- for t in $(makefile-getvar ${S}/test/Makemodule.am XFAIL_TESTS); do
+ for t in $(makefile-getvar ${B}/Makefile XFAIL_TESTS); do
rm ${D}${PTEST_PATH}/$(basename $t)
done
# These tests need a very specific user/group setup
# (https://savannah.nongnu.org/bugs/index.php?66927)
- rm -f ${D}${PTEST_PATH}/getfacl.test ${D}${PTEST_PATH}/permissions.test ${D}${PTEST_PATH}/restore.test ${D}${PTEST_PATH}/setfacl.test
+ rm -f ${D}${PTEST_PATH}/getfacl.run ${D}${PTEST_PATH}/misc.run ${D}${PTEST_PATH}/permissions.run ${D}${PTEST_PATH}/restore.run ${D}${PTEST_PATH}/setfacl.run
${B}/libtool --mode=install install ${B}/libtestlookup.la ${D}${PTEST_PATH}/
rm -f ${D}${PTEST_PATH}/*.la
--
2.47.3
reply other threads:[~2026-11-17 19:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261117190453.3968101-1-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox