tests: add qemu startupPolicy testcase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add a group of testcase of startupPolicy features for CDROM and Harddisk.
It compares the output xml string after checking the presence of disk
and applying startupPolicy with expected xml string.

New file: tests/qemustartuppolicytest.c
TestData: tests/qemustartuppolicytestdata/

Guannan Ren(4)
 tests: add qemustartuppolicy testcase
 tests: add startuppolicy testcases for cdrom
 tests: add startuppolicy testcases for single harddisk
 tests: add startuppolicy testcase for multiple mixed harddisks

 tests/Makefile.am                                                                              |  10 ++++-
 tests/qemustartuppolicytest.c                                                                  | 230 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-cdrom-absent-policy-mandatory.xml                 |  28 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-cdrom-absent-policy-optional.xml                  |  28 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-cdrom-absent-policy-requisite.xml                 |  28 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-cdrom-present-policy-optional.xml                 |  28 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-disk-absent-policy-mandatory.xml                  |  27 +++++++++++++
 tests/qemustartuppolicytestdata/domain-input-disk-absent-policy-optional.xml                   |  27 +++++++++++++
 tests/qemustartuppolicytestdata/domain-input-disk-present-policy-none.xml                      |  27 +++++++++++++
 tests/qemustartuppolicytestdata/domain-input-mixed-multiple-disks-absent-policy-mandatory.xml  |  36 +++++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-mixed-multiple-disks-absent-policy-optional.xml   |  36 +++++++++++++++++
 tests/qemustartuppolicytestdata/domain-input-multiple-disks-absent-policy-optional.xml         |  36 +++++++++++++++++
 tests/qemustartuppolicytestdata/domain-output-cdrom-absent-policy-optional.xml                 |  29 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-output-cdrom-absent-policy-requisite.xml                |  29 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-output-cdrom-present-policy-optional.xml                |  29 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-output-disk-absent-policy-optional.xml                  |  22 +++++++++++
 tests/qemustartuppolicytestdata/domain-output-disk-present-policy-none.xml                     |  28 ++++++++++++++
 tests/qemustartuppolicytestdata/domain-output-mixed-multiple-disks-absent-policy-mandatory.xml |  36 +++++++++++++++++
 tests/qemustartuppolicytestdata/domain-output-mixed-multiple-disks-absent-policy-optional.xml  |  27 +++++++++++++
 tests/qemustartuppolicytestdata/domain-output-multiple-disks-absent-policy-optional.xml        |  22 +++++++++++
 20 files changed, 761 insertions(+), 2 deletions(-)

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]