summaryrefslogtreecommitdiff
path: root/tests/keyctl/update/userupdate/runtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keyctl/update/userupdate/runtest.sh')
-rw-r--r--tests/keyctl/update/userupdate/runtest.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/keyctl/update/userupdate/runtest.sh b/tests/keyctl/update/userupdate/runtest.sh
index e7df452..320f9ce 100644
--- a/tests/keyctl/update/userupdate/runtest.sh
+++ b/tests/keyctl/update/userupdate/runtest.sh
@@ -10,34 +10,34 @@ result=PASS
echo "++++ BEGINNING TEST" >$OUTPUTFILE
# check that we can add a user key to the session keyring
-marker "ADD USER KEY"
+marker "ADD USER KEY"
create_key --new=keyid user wibble stuff @s
# read back what we put in it
-marker "PRINT PAYLOAD"
+marker "PRINT PAYLOAD"
print_key $keyid
expect_payload payload "stuff"
# check that we can update a user key
-marker "UPDATE USER KEY"
+marker "UPDATE USER KEY"
update_key $keyid "lizard"
# read back what we changed it to
-marker "PRINT UPDATED PAYLOAD"
+marker "PRINT UPDATED PAYLOAD"
print_key $keyid
expect_payload payload "lizard"
# check that we can update a user key with hex-encoded data
-marker "UPDATE USER KEY HEX"
+marker "UPDATE USER KEY HEX"
update_key -x $keyid " 6c 697a 6172 64 78 "
# read back what we changed it to
-marker "PRINT UPDATED PAYLOAD"
+marker "PRINT UPDATED PAYLOAD"
print_key $keyid
expect_payload payload "lizardx"
# remove the key we added
-marker "UNLINK KEY"
+marker "UNLINK KEY"
unlink_key $keyid @s
echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE