[libvirt] [PATCH] tests: add test file for smartcard database

John Ferlan jferlan at redhat.com
Mon Jun 18 23:33:39 UTC 2018



On 06/15/2018 10:45 AM, Anya Harter wrote:
> 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 at redhat.com>
> ---
>  .../smartcard-host-certificates-database.args | 28 +++++++++++++++
>  .../smartcard-host-certificates-database.xml  | 21 +++++++++++
>  tests/qemuxml2argvtest.c                      |  2 ++
>  .../smartcard-host-certificates-database.xml  | 35 +++++++++++++++++++
>  tests/qemuxml2xmltest.c                       |  1 +
>  5 files changed, 87 insertions(+)
>  create mode 100644 tests/qemuxml2argvdata/smartcard-host-certificates-database.args
>  create mode 100644 tests/qemuxml2argvdata/smartcard-host-certificates-database.xml
>  create mode 100644 tests/qemuxml2xmloutdata/smartcard-host-certificates-database.xml
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list