* [PATCH v2 08/13] tests/instantiating: test the unlinked keyid
@ 2019-08-29 20:43 Ben Boeckel
0 siblings, 0 replies; only message in thread
From: Ben Boeckel @ 2019-08-29 20:43 UTC (permalink / raw)
To: keyrings
Testing the `0` ID just repeats the "BAD KEY" tests at the beginning of
the file.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
---
tests/keyctl/instantiating/bad-args/runtest.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/keyctl/instantiating/bad-args/runtest.sh b/tests/keyctl/instantiating/bad-args/runtest.sh
index 0b01395..d611fb9 100644
--- a/tests/keyctl/instantiating/bad-args/runtest.sh
+++ b/tests/keyctl/instantiating/bad-args/runtest.sh
@@ -41,11 +41,11 @@ unlink_key --wait $keyid @s
# check that a non-existent key ID fails correctly
marker "CHECK NON-EXISTENT KEY ID"
-instantiate_key --fail 0 a @p
+instantiate_key --fail $keyid a @p
expect_error EPERM
-pinstantiate_key --fail a 0 @p
+pinstantiate_key --fail a $keyid @p
expect_error EPERM
-negate_key --fail 0 10 @p
+negate_key --fail $keyid 10 @p
expect_error EPERM
echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE
--
2.21.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-29 20:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29 20:43 [PATCH v2 08/13] tests/instantiating: test the unlinked keyid Ben Boeckel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.