summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-01-08 19:52:15 +0000
committerGuido Günther <agx@sigxcpu.org>2009-01-08 19:52:15 +0000
commitd6bd288da289f8f863d3667dbcb34066da14e713 (patch)
treedcd627033cb2d6d7e3a90b6d3cc81c4a453c74ff /tests/xml2sexprtest.c
parentpass flags argument to all virDomain*DefParse* functions (diff)
downloadlibvirt-d6bd288da289f8f863d3667dbcb34066da14e713.tar.gz
libvirt-d6bd288da289f8f863d3667dbcb34066da14e713.tar.bz2
libvirt-d6bd288da289f8f863d3667dbcb34066da14e713.zip
add missing flags argument
Diffstat (limited to 'tests/xml2sexprtest.c')
-rw-r--r--tests/xml2sexprtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/xml2sexprtest.c b/tests/xml2sexprtest.c
index b05e6c8d6..b06c3ace8 100644
--- a/tests/xml2sexprtest.c
+++ b/tests/xml2sexprtest.c
@@ -35,7 +35,8 @@ static int testCompareFiles(const char *xml, const char *sexpr,
if (virtTestLoadFile(sexpr, &sexprPtr, MAX_FILE) < 0)
goto fail;
- if (!(def = virDomainDefParseString(NULL, caps, xmlData)))
+ if (!(def = virDomainDefParseString(NULL, caps, xmlData,
+ VIR_DOMAIN_XML_INACTIVE)))
goto fail;
if (!(gotsexpr = xenDaemonFormatSxpr(NULL, def, xendConfigVersion)))