diff options
author | David Howells <dhowells@redhat.com> | 2020-07-16 21:53:04 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-07-16 21:53:19 +0100 |
commit | ed38eb2f0d61db18f5f655b90e64388649f7d335 (patch) | |
tree | fc31835ae06d7d2d798cada0290462d64db45576 | |
parent | 024634145073e88eb4c33bc95938e2e6ae02d17b (diff) | |
download | keyutils-development.tar.gz |
test: Unmerged fixesdevelopment
-rw-r--r-- | tests/keyctl/dh_compute/bad-args/runtest.sh | 2 | ||||
-rw-r--r-- | tests/keyctl/listing/bad-args/runtest.sh | 4 | ||||
-rw-r--r-- | tests/keyctl/reading/bad-args/runtest.sh | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/keyctl/dh_compute/bad-args/runtest.sh b/tests/keyctl/dh_compute/bad-args/runtest.sh index da07c6a..08c7433 100644 --- a/tests/keyctl/dh_compute/bad-args/runtest.sh +++ b/tests/keyctl/dh_compute/bad-args/runtest.sh @@ -76,7 +76,7 @@ expect_error EOPNOTSUPP marker "CHECK MISSING KEY" dh_compute --fail $privateid $primeid 0 -expect_error ENOKEY +expect_error EINVAL unlink_key --wait $generatorid @s dh_compute --fail $privateid $primeid $generatorid expect_error ENOKEY diff --git a/tests/keyctl/listing/bad-args/runtest.sh b/tests/keyctl/listing/bad-args/runtest.sh index 84e3f07..fcc36d8 100644 --- a/tests/keyctl/listing/bad-args/runtest.sh +++ b/tests/keyctl/listing/bad-args/runtest.sh @@ -12,9 +12,9 @@ echo "++++ BEGINNING TEST" >$OUTPUTFILE # check that a bad key ID fails correctly marker "CHECK BAD KEY ID" list_keyring --fail 0 -expect_error ENOKEY +expect_error EINVAL pretty_list_keyring --fail 0 -expect_error ENOKEY +expect_error EINVAL # create a non-keyring marker "CREATE KEY" diff --git a/tests/keyctl/reading/bad-args/runtest.sh b/tests/keyctl/reading/bad-args/runtest.sh index 357d4d5..ebec77e 100644 --- a/tests/keyctl/reading/bad-args/runtest.sh +++ b/tests/keyctl/reading/bad-args/runtest.sh @@ -12,11 +12,11 @@ echo "++++ BEGINNING TEST" >$OUTPUTFILE # check that a bad key ID fails correctly marker "CHECK BAD KEY ID" read_key --fail 0 -expect_error ENOKEY +expect_error EINVAL print_key --fail 0 -expect_error ENOKEY +expect_error EINVAL pipe_key --fail 0 -expect_error ENOKEY +expect_error EINVAL # create a non-keyring marker "CREATE KEY" |