diff options
| author | Alexey Krasikov | 2020-05-25 13:19:13 +0200 |
|---|---|---|
| committer | Daniel P. Berrangé | 2020-06-15 12:33:51 +0200 |
| commit | 92500362210268faf4ae81644a66a7616d6bde1d (patch) | |
| tree | 6cf21b0562de523c7f32670a801f97c89d060fba /tests/Makefile.include | |
| parent | crypto/linux_keyring: add 'secret_keyring' secret object. (diff) | |
| download | qemu-92500362210268faf4ae81644a66a7616d6bde1d.tar.gz qemu-92500362210268faf4ae81644a66a7616d6bde1d.tar.xz qemu-92500362210268faf4ae81644a66a7616d6bde1d.zip | |
test-crypto-secret: add 'secret_keyring' object tests.
Add tests:
test_secret_keyring_good;
test_secret_keyring_revoked_key;
test_secret_keyring_expired_key;
test_secret_keyring_bad_serial_key;
test_secret_keyring_bad_key_access_right;
Added tests require libkeyutils. The absence of this library is not
critical, because these tests will be skipped in this case.
Signed-off-by: Alexey Krasikov <alex-krasikov@yandex-team.ru>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/Makefile.include')
| -rw-r--r-- | tests/Makefile.include | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include index c2397de8ed..5607c7290d 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -540,6 +540,10 @@ tests/benchmark-crypto-cipher$(EXESUF): tests/benchmark-crypto-cipher.o $(test-c tests/test-crypto-secret$(EXESUF): tests/test-crypto-secret.o $(test-crypto-obj-y) tests/test-crypto-xts$(EXESUF): tests/test-crypto-xts.o $(test-crypto-obj-y) +ifeq ($(CONFIG_TEST_SECRET_KEYRING),y) +tests/test-crypto-secret.o-libs := -lkeyutils +endif + tests/crypto-tls-x509-helpers.o-cflags := $(TASN1_CFLAGS) tests/crypto-tls-x509-helpers.o-libs := $(TASN1_LIBS) tests/pkix_asn1_tab.o-cflags := $(TASN1_CFLAGS) |
