[libvirt] [PATCH 2/2] tests: Add test cases for previous commit

Eric Blake eblake at redhat.com
Thu Sep 4 21:25:23 UTC 2014


On 09/04/2014 03:24 AM, Michal Privoznik wrote:
> This commit is rather big. Firstly, the in memory config
> representation is adjusted like if security_driver was set to "none".

s/like/as/

> The rest is then just adaptation to the new code that will generate
> different seclabels.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  .../qemuhotplug-hotplug-base+disk-scsi.xml         |  2 +-
>  .../qemuhotplug-hotplug-base+disk-usb.xml          |  2 +-
>  .../qemuhotplug-hotplug-base+disk-virtio.xml       |  2 +-
>  .../qemuxml2argvdata/qemuxml2argv-hotplug-base.xml |  2 +-
>  .../qemuxml2argv-seclabel-dynamic-none-relabel.xml | 53 ++++++++++++++++++++++
>  ...emuxml2xmlout-seclabel-dynamic-none-relabel.xml | 53 ++++++++++++++++++++++
>  .../qemuxml2xmlout-seclabel-dynamic-relabel.xml    | 28 ++++++++++++
>  .../qemuxml2xmlout-seclabel-none.xml               | 28 ++++++++++++
>  tests/qemuxml2xmltest.c                            |  5 +-
>  tests/testutilsqemu.c                              | 10 ++++
>  10 files changed, 179 insertions(+), 6 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-seclabel-dynamic-none-relabel.xml
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-seclabel-dynamic-none-relabel.xml
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-seclabel-dynamic-relabel.xml
>  create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-seclabel-none.xml
> 

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140904/b4cd7f7c/attachment-0001.sig>


More information about the libvir-list mailing list