summaryrefslogtreecommitdiff
path: root/tests/keyctl/pupdate/bad-args/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keyctl/pupdate/bad-args/runtest.sh')
-rw-r--r--tests/keyctl/pupdate/bad-args/runtest.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/keyctl/pupdate/bad-args/runtest.sh b/tests/keyctl/pupdate/bad-args/runtest.sh
index e8bc28f..c890481 100644
--- a/tests/keyctl/pupdate/bad-args/runtest.sh
+++ b/tests/keyctl/pupdate/bad-args/runtest.sh
@@ -21,8 +21,7 @@ expect_error EINVAL
# add a user key to the session keyring for us to play with
marker "ADD USER KEY"
-create_key user wibble stuff @s
-expect_keyid keyid
+create_key --new=keyid user wibble stuff @s
# remove the key we just added
marker "UNLINK KEY"