diff options
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.patch | 35 |
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 @@ | |||
1 | From 47f8039ec9bd08b629775c8e788d11e41fa95f14 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Gruenbacher <agruenba@redhat.com> | ||
3 | Date: Mon, 24 Mar 2025 21:14:09 +0100 | ||
4 | Subject: [PATCH] test/misc.test: Don't mix stdout and stderr | ||
5 | |||
6 | In different environments, we may not get the stdout and stderr output | ||
7 | in the order the run script expects, so check both separately. | ||
8 | |||
9 | Fixes: https://savannah.nongnu.org/bugs/?66944 | ||
10 | Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
14 | --- | ||
15 | test/misc.test | 3 ++- | ||
16 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/test/misc.test b/test/misc.test | ||
19 | index 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 | -- | ||
34 | 2.43.0 | ||
35 | |||