tests: qemuargv2xml: Remove unneeded XML blanking

None of the test cases depend on dropping these XML bits
This commit is contained in:
Cole Robinson 2016-02-16 10:55:24 -05:00
parent 6b9b21db70
commit 7973c0efdf
1 changed files with 2 additions and 5 deletions

View File

@ -23,14 +23,11 @@ static virQEMUDriver driver;
static int blankProblemElements(char *data)
{
if (virtTestClearLineRegex("<name>[[:alnum:]]+</name>", data) < 0 ||
virtTestClearLineRegex("<uuid>([[:alnum:]]|-)+</uuid>", data) < 0 ||
if (virtTestClearLineRegex("<uuid>([[:alnum:]]|-)+</uuid>", data) < 0 ||
virtTestClearLineRegex("<memory.*>[[:digit:]]+</memory>", data) < 0 ||
virtTestClearLineRegex("<secret.*>", data) < 0 ||
virtTestClearLineRegex("<currentMemory.*>[[:digit:]]+</currentMemory>",
data) < 0 ||
virtTestClearLineRegex("<readonly/>", data) < 0 ||
virtTestClearLineRegex("<shareable/>", data) < 0)
data) < 0)
return -1;
return 0;
}