diff options
Diffstat (limited to 'meta-oe/recipes-security/keyutils/files/0001-tests-builtin_trusted-Failure-command-is-failed.patch')
-rw-r--r-- | meta-oe/recipes-security/keyutils/files/0001-tests-builtin_trusted-Failure-command-is-failed.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/keyutils/files/0001-tests-builtin_trusted-Failure-command-is-failed.patch b/meta-oe/recipes-security/keyutils/files/0001-tests-builtin_trusted-Failure-command-is-failed.patch new file mode 100644 index 0000000000..b78d7f7f28 --- /dev/null +++ b/meta-oe/recipes-security/keyutils/files/0001-tests-builtin_trusted-Failure-command-is-failed.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 714542f009860e1652bc06d05ab939290374a114 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alex Kiernan <alex.kiernan@gmail.com> | ||
3 | Date: Thu, 26 Jan 2023 08:27:12 +0000 | ||
4 | Subject: [PATCH 1/2] tests: builtin_trusted: Failure command is `failed` | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> | ||
8 | --- | ||
9 | tests/features/builtin_trusted/runtest.sh | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/tests/features/builtin_trusted/runtest.sh b/tests/features/builtin_trusted/runtest.sh | ||
13 | index 27910b5fa8e7..437f5ad1d6b2 100644 | ||
14 | --- a/tests/features/builtin_trusted/runtest.sh | ||
15 | +++ b/tests/features/builtin_trusted/runtest.sh | ||
16 | @@ -24,7 +24,7 @@ id_key --to=blk %:.blacklist | ||
17 | # There should be at least one built-in trusted key for module signing. | ||
18 | list_keyring $btk | ||
19 | expect_keyring_rlist bkeys | ||
20 | -if [ `echo $bkeys | wc -w` = 0 ]; then fail; fi | ||
21 | +if [ `echo $bkeys | wc -w` = 0 ]; then failed; fi | ||
22 | |||
23 | # Check we can't add random keys to those keyrings | ||
24 | marker "TRY ADDING USER KEYS" | ||
25 | -- | ||
26 | 2.39.0 | ||
27 | |||