Tue Aug 21 10:36:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>

* tests/xencapsdata/*.xml: Fixed tests to include new
	  <migration_features> element in capabilities XML.
This commit is contained in:
Richard W.M. Jones 2007-08-21 09:38:00 +00:00
parent 81005437f4
commit c413098dc8
13 changed files with 67 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Aug 21 10:36:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* tests/xencapsdata/*.xml: Fixed tests to include new
<migration_features> element in capabilities XML.
Tue Aug 21 10:21:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/libvirt.c (virDomainMigrate): Added virDomainMigrate

View File

@ -30,7 +30,7 @@ static int testCompareFiles(const char *xml, const char *sexpr, int xendConfigVe
if (strcmp(xmlData, gotxml)) {
if (getenv("DEBUG_TESTS")) {
printf("In test file %s -> %s:\n", sexpr, xml);
printf("In test file %s -> %s:\n", sexpr, xml);
printf("Expect %d '%s'\n", (int)strlen(xmlData), xmlData);
printf("Actual %d '%s'\n", (int)strlen(gotxml), gotxml);
}

View File

@ -6,6 +6,12 @@
<vmx/>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -6,6 +6,12 @@
<vmx/>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -5,6 +5,12 @@
<features>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -5,6 +5,12 @@
<features>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -5,6 +5,12 @@
<features>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -5,6 +5,12 @@
<features>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -5,6 +5,12 @@
<features>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -5,6 +5,12 @@
<features>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -6,6 +6,12 @@
<svm/>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -6,6 +6,12 @@
<svm/>
</features>
</cpu>
<migration_features>
<live/>
<uri_transports>
<uri_transport>xenmigr</uri_transport>
</uri_transports>
</migration_features>
</host>
<guest>

View File

@ -40,6 +40,7 @@ static int testCompareFiles(const char *hostmachine,
goto fail;
if (getenv("DEBUG_TESTS")) {
printf("In test file %s:\n", capabilities);
printf("Expect %d '%s'\n", (int)strlen(expectxml), expectxml);
printf("Actual %d '%s'\n", (int)strlen(actualxml), actualxml);
}