diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2019-08-29 16:43:11 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-09-04 10:46:24 +0100 |
commit | 27bdc9ec1baf6681f666056412afe0cc94105435 (patch) | |
tree | 18cf6bf99cf62e7d90bc187e6b2ebd52fbb06184 | |
parent | 22274146c4661a49b07071c887f4316bf8762b00 (diff) | |
download | keyutils-27bdc9ec1baf6681f666056412afe0cc94105435.tar.gz |
tests: remove some trailing whitespace
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | tests/keyctl/pupdate/userupdate/runtest.sh | 10 | ||||
-rw-r--r-- | tests/keyctl/unlink/all/runtest.sh | 2 | ||||
-rw-r--r-- | tests/keyctl/unlink/valid/runtest.sh | 4 | ||||
-rw-r--r-- | tests/keyctl/update/userupdate/runtest.sh | 14 |
4 files changed, 15 insertions, 15 deletions
diff --git a/tests/keyctl/pupdate/userupdate/runtest.sh b/tests/keyctl/pupdate/userupdate/runtest.sh index 30aba54..81db4f9 100644 --- a/tests/keyctl/pupdate/userupdate/runtest.sh +++ b/tests/keyctl/pupdate/userupdate/runtest.sh @@ -10,25 +10,25 @@ 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 "PUPDATE USER KEY" +marker "PUPDATE USER KEY" echo -n "lizard" | pupdate_key $keyid # read back what we changed it to -marker "PRINT UPDATED PAYLOAD" +marker "PRINT UPDATED PAYLOAD" print_key $keyid expect_payload payload "lizard" # remove the key we added -marker "UNLINK KEY" +marker "UNLINK KEY" unlink_key $keyid @s echo "++++ FINISHED TEST: $result" >>$OUTPUTFILE diff --git a/tests/keyctl/unlink/all/runtest.sh b/tests/keyctl/unlink/all/runtest.sh index 3f12a42..9215a0e 100644 --- a/tests/keyctl/unlink/all/runtest.sh +++ b/tests/keyctl/unlink/all/runtest.sh @@ -34,7 +34,7 @@ then unlink_key $keyid expect_unlink_count n_unlinked 0 - # check that the keyring is now empty + # check that the keyring is now empty marker "LIST KEYRING" list_keyring $keyringid expect_keyring_rlist rlist empty diff --git a/tests/keyctl/unlink/valid/runtest.sh b/tests/keyctl/unlink/valid/runtest.sh index 8cfbe47..c5a15df 100644 --- a/tests/keyctl/unlink/valid/runtest.sh +++ b/tests/keyctl/unlink/valid/runtest.sh @@ -31,7 +31,7 @@ marker "CHECK NO UNLINK KEY FROM KEYRING" unlink_key --fail $keyid $keyringid expect_error ENOKEY -# check that the keyring is now empty +# check that the keyring is now empty marker "LIST KEYRING" list_keyring $keyringid expect_keyring_rlist rlist empty @@ -80,7 +80,7 @@ done keyctl show -# check that it's now empty +# check that it's now empty marker "LIST KEYRING" list_keyring $keyringid expect_keyring_rlist rlist empty 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 |