summaryrefslogtreecommitdiff
path: root/tests/keyctl/timeout/bad-args/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keyctl/timeout/bad-args/runtest.sh')
-rw-r--r--tests/keyctl/timeout/bad-args/runtest.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/keyctl/timeout/bad-args/runtest.sh b/tests/keyctl/timeout/bad-args/runtest.sh
index a93cd2d..9d53e8d 100644
--- a/tests/keyctl/timeout/bad-args/runtest.sh
+++ b/tests/keyctl/timeout/bad-args/runtest.sh
@@ -16,8 +16,7 @@ expect_error EINVAL
# get a key
marker "CREATE KEY"
-create_key user a a @s
-expect_keyid keyid
+create_key --new=keyid user a a @s
# dispose of the key so we can use its ID
marker "DESTROY KEY ID"