Files
poky/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch
Ross Burton 6ade544faa acl: improve ptest packaging
As there's a small number of  test binaries in acl, instead of
installing large chunks of the build tree we can install just those and
use a boilerplate test runner.

Drop 0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch and
replace with an explicit -DBASEDIR= flag passed at build time.

Drop 0001-test-patch-out-failing-bits.patch and delete the tests that
fail entirely as they won't work without a specific user/group setup.

Backport a patch from upstream so that some tests don't use excessive
amounts of memory.

Backport a patch from upstream to cater for both glibc and musl's
behaviour with interleaved stdout/stderr, fixing the tests on musl.

Clean up dependencies now that we're not shipping the build system.

(From OE-Core rev: 2d82d5ea612ae6d7ac177f2a2792b3e3fdac1c70)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-27 11:19:04 +00:00

36 lines
1.0 KiB
Diff

From 47f8039ec9bd08b629775c8e788d11e41fa95f14 Mon Sep 17 00:00:00 2001
From: Andreas Gruenbacher <agruenba@redhat.com>
Date: Mon, 24 Mar 2025 21:14:09 +0100
Subject: [PATCH] test/misc.test: Don't mix stdout and stderr
In different environments, we may not get the stdout and stderr output
in the order the run script expects, so check both separately.
Fixes: https://savannah.nongnu.org/bugs/?66944
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
test/misc.test | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/misc.test b/test/misc.test
index 06b3136..57c02e5 100644
--- a/test/misc.test
+++ b/test/misc.test
@@ -440,8 +440,9 @@ Dangling symlink test https://savannah.nongnu.org/bugs/?28131
> other::r-x
>
$ setfacl -R -m u:bin:rw d
- $ getfacl -RL d
+ $ getfacl -RL d > /dev/null
> getfacl: d/b: No such file or directory
+ $ getfacl -RL d 2> /dev/null
> # file: d
> # owner: %TUSER
> # group: %TGROUP
--
2.43.0