summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Bolte <matthias.bolte@googlemail.com>2011-05-26 17:40:51 +0200
committerMatthias Bolte <matthias.bolte@googlemail.com>2011-05-26 23:32:44 +0200
commit8357d91b652930440f11c205c6d510da2e854c87 (patch)
tree299c9a92ae160a4af973a4c719ae2b50ae6cae12 /tests/xml2vmxtest.c
parentopenvz: Add simple testcase for config file parsing function (diff)
downloadlibvirt-8357d91b652930440f11c205c6d510da2e854c87.tar.gz
libvirt-8357d91b652930440f11c205c6d510da2e854c87.tar.bz2
libvirt-8357d91b652930440f11c205c6d510da2e854c87.zip
esx: Fix regression in absolute file name handling
Before commit 145d6cb05c45f4 (in August 2010) absolute file names in VMX and domain XML configs were handled correctly. But this got lost during the refactoring. The test cases didn't highlight this problem because they have their own set of file name handling functions. The actual ones require a real connection to an ESX server. Also the test case functions always worked correctly. Fix the regression and add a new in-the-wild VMX file that contains such a problematic absolute path. Even though this test case won't protect against new regressions. Reported by lofic (IRC nick)
Diffstat (limited to 'tests/xml2vmxtest.c')
-rw-r--r--tests/xml2vmxtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/xml2vmxtest.c b/tests/xml2vmxtest.c
index efd4d7493..66ed53d69 100644
--- a/tests/xml2vmxtest.c
+++ b/tests/xml2vmxtest.c
@@ -272,6 +272,7 @@ mymain(void)
DO_TEST("esx-in-the-wild-3", "esx-in-the-wild-3", 4);
DO_TEST("esx-in-the-wild-4", "esx-in-the-wild-4", 4);
DO_TEST("esx-in-the-wild-5", "esx-in-the-wild-5", 4);
+ DO_TEST("esx-in-the-wild-6", "esx-in-the-wild-6", 4);
DO_TEST("gsx-in-the-wild-1", "gsx-in-the-wild-1", 4);
DO_TEST("gsx-in-the-wild-2", "gsx-in-the-wild-2", 4);