]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Introduce qemusecuritytest
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 7 Dec 2018 12:21:43 +0000 (13:21 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 19 Dec 2018 14:32:43 +0000 (15:32 +0100)
commit1e63dea999f1916a2d5fc55d3a4c7eac6d95fd49
tree8c46e8049d3071e7f39bc886fb81ace420fcd2dd
parentd9043c06e62e2941454b7a5470bbd19b14a9f8ef
tests: Introduce qemusecuritytest

This test checks if security label remembering works correctly.
It uses qemuSecurity* APIs to do that. And some mocking (even
though it's not real mocking as we are used to from other tests
like virpcitest). So far, only DAC driver is tested.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
cfg.mk
src/util/virfile.h
tests/Makefile.am
tests/qemusecuritymock.c [new file with mode: 0644]
tests/qemusecuritytest.c [new file with mode: 0644]
tests/qemusecuritytest.h [new file with mode: 0644]