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

tests: Use fixedcontent variable

Commit ca329299 added function
virTestCompareToFile(), but forgot to use a fixedcontent value for the
actual comparison.  That lead to VIR_TEST_DEBUG=1 showing (for some
tests) all the actual output from the first error to the end of the
string due to the difference being an endline in the end.
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 ead3cfc6
......@@ -709,7 +709,7 @@ virTestCompareToFile(const char *strcontent,
filecontent)) {
virTestDifferenceFull(stderr,
filecontent, filename,
strcontent, NULL);
fixedcontent, NULL);
goto failure;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册