1*c5535c91SAndrew GeisslerFrom 714542f009860e1652bc06d05ab939290374a114 Mon Sep 17 00:00:00 2001 2*c5535c91SAndrew GeisslerFrom: Alex Kiernan <alex.kiernan@gmail.com> 3*c5535c91SAndrew GeisslerDate: Thu, 26 Jan 2023 08:27:12 +0000 4*c5535c91SAndrew GeisslerSubject: [PATCH 1/2] tests: builtin_trusted: Failure command is `failed` 5*c5535c91SAndrew Geissler 6*c5535c91SAndrew GeisslerUpstream-Status: Pending 7*c5535c91SAndrew GeisslerSigned-off-by: Alex Kiernan <alex.kiernan@gmail.com> 8*c5535c91SAndrew Geissler--- 9*c5535c91SAndrew Geissler tests/features/builtin_trusted/runtest.sh | 2 +- 10*c5535c91SAndrew Geissler 1 file changed, 1 insertion(+), 1 deletion(-) 11*c5535c91SAndrew Geissler 12*c5535c91SAndrew Geisslerdiff --git a/tests/features/builtin_trusted/runtest.sh b/tests/features/builtin_trusted/runtest.sh 13*c5535c91SAndrew Geisslerindex 27910b5fa8e7..437f5ad1d6b2 100644 14*c5535c91SAndrew Geissler--- a/tests/features/builtin_trusted/runtest.sh 15*c5535c91SAndrew Geissler+++ b/tests/features/builtin_trusted/runtest.sh 16*c5535c91SAndrew Geissler@@ -24,7 +24,7 @@ id_key --to=blk %:.blacklist 17*c5535c91SAndrew Geissler # There should be at least one built-in trusted key for module signing. 18*c5535c91SAndrew Geissler list_keyring $btk 19*c5535c91SAndrew Geissler expect_keyring_rlist bkeys 20*c5535c91SAndrew Geissler-if [ `echo $bkeys | wc -w` = 0 ]; then fail; fi 21*c5535c91SAndrew Geissler+if [ `echo $bkeys | wc -w` = 0 ]; then failed; fi 22*c5535c91SAndrew Geissler 23*c5535c91SAndrew Geissler # Check we can't add random keys to those keyrings 24*c5535c91SAndrew Geissler marker "TRY ADDING USER KEYS" 25*c5535c91SAndrew Geissler-- 26*c5535c91SAndrew Geissler2.39.0 27*c5535c91SAndrew Geissler 28