summaryrefslogtreecommitdiff
path: root/tests/xml2vmxtest.c
diff options
context:
space:
mode:
authorJean-Baptiste Rouault <jean-baptiste.rouault@diateam.net>2012-02-23 10:34:45 +0100
committerMatthias Bolte <matthias.bolte@googlemail.com>2012-02-24 11:53:23 +0100
commitf246cdb5aca13ac9409b2ad43087e3078615ffcb (patch)
treeeafb1d9096de7cd202c0d0c2675c60cab582c3fb /tests/xml2vmxtest.c
parentcff5573da22bfdc0db9d90d6a3a25a520cb1b955 (diff)
downloadlibvirt-f246cdb5aca13ac9409b2ad43087e3078615ffcb.tar.gz
vmx: Better Workstation vmx handling
This patch adds support for vmx files with empty networkName values (which is the case for vmx generated by Workstation). It also adds support for vmx containing NATed network interfaces. Update test suite accordingly
Diffstat (limited to 'tests/xml2vmxtest.c')
-rw-r--r--tests/xml2vmxtest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/xml2vmxtest.c b/tests/xml2vmxtest.c
index f4e4ed6b60..60a24b2a6b 100644
--- a/tests/xml2vmxtest.c
+++ b/tests/xml2vmxtest.c
@@ -260,6 +260,7 @@ mymain(void)
DO_TEST("ethernet-custom", "ethernet-custom", 4);
DO_TEST("ethernet-bridged", "ethernet-bridged", 4);
+ DO_TEST("ethernet-nat", "ethernet-nat", 4);
DO_TEST("ethernet-generated", "ethernet-generated", 4);
DO_TEST("ethernet-static", "ethernet-static", 4);
@@ -287,6 +288,9 @@ mymain(void)
DO_TEST("gsx-in-the-wild-3", "gsx-in-the-wild-3", 4);
DO_TEST("gsx-in-the-wild-4", "gsx-in-the-wild-4", 4);
+ DO_TEST("ws-in-the-wild-1", "ws-in-the-wild-1", 8);
+ DO_TEST("ws-in-the-wild-2", "ws-in-the-wild-2", 8);
+
DO_TEST("annotation", "annotation", 4);
DO_TEST("smbios", "smbios", 4);