]> git.proxmox.com Git - mirror_qemu.git/commit - configure
test-crypto-secret: add 'secret_keyring' object tests.
authorAlexey Krasikov <alex-krasikov@yandex-team.ru>
Mon, 25 May 2020 11:19:13 +0000 (14:19 +0300)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 15 Jun 2020 10:33:51 +0000 (11:33 +0100)
commit92500362210268faf4ae81644a66a7616d6bde1d
tree6cf21b0562de523c7f32670a801f97c89d060fba
parent54e7aac0562452e4fcab65ca5001d030eef2de15
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>
configure
tests/Makefile.include
tests/test-crypto-secret.c