]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: add test file for smartcard database
authorAnya Harter <aharter@redhat.com>
Fri, 15 Jun 2018 14:45:05 +0000 (10:45 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 18 Jun 2018 23:27:49 +0000 (19:27 -0400)
commit22b7247d48fae8ad8e2fa4fcbfc1c6d54820b095
tree703681b788cbef61abd52a61a2ba64ebbb9f936d
parentd43cedcb8e647063377d2c692b7c541f507ef9e9
tests: add test file for smartcard database

Add test case explicitly defining a smartcard host certificates
database via the following xml:

    <smartcard mode='host-certificates'>
      <database>/tmp/foo</database>
    </smartcard>

This case is not currently covered in the test suite.

Signed-off-by: Anya Harter <aharter@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemuxml2argvdata/smartcard-host-certificates-database.args [new file with mode: 0644]
tests/qemuxml2argvdata/smartcard-host-certificates-database.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/smartcard-host-certificates-database.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c