mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Ensure we strip the :disk postfix from disks in Xen 3.0.3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user