提交 b8bbc23f 编写于 作者: M Martin Kletzander

Only output initialized capabilities with VIR_TEST_DEBUG > 1

Currenty virTestInit() outputs all capabilities that it created when running
with VIR_TEST_DEBUG=1.  Since this is quite a lot of output for every call of
this function (and it is not needed until debugging a really deep-down issue)
let's just output the info when VIR_TEST_DEBUG is strictly greater than 1.
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
上级 e3996415
......@@ -1208,7 +1208,7 @@ virCapsPtr virTestGenericCapsInit(void)
goto error;
if (virTestGetDebug()) {
if (virTestGetDebug() > 1) {
char *caps_str;
caps_str = virCapabilitiesFormatXML(caps);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册