summaryrefslogtreecommitdiff
path: root/tests/keyctl/restrict/bad-args/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keyctl/restrict/bad-args/runtest.sh')
-rw-r--r--tests/keyctl/restrict/bad-args/runtest.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/keyctl/restrict/bad-args/runtest.sh b/tests/keyctl/restrict/bad-args/runtest.sh
index 8cd073e..e69d2d7 100644
--- a/tests/keyctl/restrict/bad-args/runtest.sh
+++ b/tests/keyctl/restrict/bad-args/runtest.sh
@@ -16,13 +16,11 @@ echo "++++ BEGINNING TEST" >$OUTPUTFILE
# create a keyring for CA keys
marker "ADD CA KEYRING"
-create_keyring cakeyring @s
-expect_keyid cakeyringid
+create_keyring --new=cakeyringid cakeyring @s
# create a keyring
marker "ADD KEYRING TO RESTRICT"
-create_keyring restrict @s
-expect_keyid restrictid
+create_keyring --new=restrictid restrict @s
# invalid payload
marker "INVALID EXTRA PARAMETER 1"