aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2006-09-14 15:34:50 +0000
committerDaniel P. Berrange <berrange@redhat.com>2006-09-14 15:34:50 +0000
commit4e7b9aa2e1d0ccb58fe9ab140afed22a29eb9be0 (patch)
tree02f7defbed1917829d854cffa3a04fe661d34906 /tests/xml2sexprtest.c
parentAllow setting of VNC port when creating domains (diff)
downloadlibvirt-4e7b9aa2e1d0ccb58fe9ab140afed22a29eb9be0.tar.gz
libvirt-4e7b9aa2e1d0ccb58fe9ab140afed22a29eb9be0.tar.bz2
libvirt-4e7b9aa2e1d0ccb58fe9ab140afed22a29eb9be0.zip
Ensure we strip the :disk postfix from disks in Xen 3.0.3
Diffstat (limited to 'tests/xml2sexprtest.c')
-rw-r--r--tests/xml2sexprtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/xml2sexprtest.c b/tests/xml2sexprtest.c
index f5b0b2877..ef15b0060 100644
--- a/tests/xml2sexprtest.c
+++ b/tests/xml2sexprtest.c
@@ -28,8 +28,8 @@ static int testCompareFiles(const char *xml, const char *sexpr, const char *name
return -1;
if (getenv("DEBUG_TESTS")) {
- printf("In %d '%s'\n", strlen(sexprData), sexprData);
- printf("Out %d '%s'\n", strlen(gotsexpr), gotsexpr);
+ printf("Expect %d '%s'\n", (int)strlen(sexprData), sexprData);
+ printf("Actual %d '%s'\n", (int)strlen(gotsexpr), gotsexpr);
}
if (strcmp(sexprData, gotsexpr))
return -1;