summaryrefslogtreecommitdiff
path: root/tests/keyctl/timeout/valid/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keyctl/timeout/valid/runtest.sh')
-rw-r--r--tests/keyctl/timeout/valid/runtest.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/keyctl/timeout/valid/runtest.sh b/tests/keyctl/timeout/valid/runtest.sh
index 5f7f2f3..f0f954c 100644
--- a/tests/keyctl/timeout/valid/runtest.sh
+++ b/tests/keyctl/timeout/valid/runtest.sh
@@ -117,6 +117,21 @@ marker "CHECK NO VALIDATE KEYRING"
describe_key --fail $keyringid
expect_error EKEYEXPIRED
+# validating the new keyring's name and type should also fail
+marker "CHECK NO SET KEYRING TIMEOUT"
+timeout_key --fail $keyringid 20
+expect_error EKEYEXPIRED
+
+# validating the new keyring's name and type should also fail
+marker "CHECK NO INVALIDATE KEYRING"
+invalidate_key --fail $keyringid
+expect_error EKEYEXPIRED
+
+# validating the new keyring's name and type should also fail
+marker "CHECK NO REVOKE KEYRING"
+revoke_key --fail $keyringid
+expect_error EKEYEXPIRED
+
# remove the keyring we added
marker "UNLINK KEYRING"
unlink_key $keyringid @s