tests/instantiating: test the unlinked keyid
PATCH 6/9 tests/instantiating: test the unlinked keyid
Testing the 0 ID just repeats the "BAD KEY" tests at the beginning of the file.
Signed-off-by Ben Boeckel <[email protected]>
--- tests/keyctl/instantiating/bad-args/runtest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tests/keyctl/instantiating/bad-args/runtest.sh +3 -3
@@ -42,11 +42,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
Signature · 1 line
2.21.0