summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch')
-rw-r--r--meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch b/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch
new file mode 100644
index 0000000000..5aa3f3224c
--- /dev/null
+++ b/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch
@@ -0,0 +1,35 @@
1From 47f8039ec9bd08b629775c8e788d11e41fa95f14 Mon Sep 17 00:00:00 2001
2From: Andreas Gruenbacher <agruenba@redhat.com>
3Date: Mon, 24 Mar 2025 21:14:09 +0100
4Subject: [PATCH] test/misc.test: Don't mix stdout and stderr
5
6In different environments, we may not get the stdout and stderr output
7in the order the run script expects, so check both separately.
8
9Fixes: https://savannah.nongnu.org/bugs/?66944
10Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
11
12Upstream-Status: Backport
13Signed-off-by: Ross Burton <ross.burton@arm.com>
14---
15 test/misc.test | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18diff --git a/test/misc.test b/test/misc.test
19index 06b3136..57c02e5 100644
20--- a/test/misc.test
21+++ b/test/misc.test
22@@ -440,8 +440,9 @@ Dangling symlink test https://savannah.nongnu.org/bugs/?28131
23 > other::r-x
24 >
25 $ setfacl -R -m u:bin:rw d
26- $ getfacl -RL d
27+ $ getfacl -RL d > /dev/null
28 > getfacl: d/b: No such file or directory
29+ $ getfacl -RL d 2> /dev/null
30 > # file: d
31 > # owner: %TUSER
32 > # group: %TGROUP
33--
342.43.0
35