mirror of
https://github.com/libvirt/libvirt.git
synced 2026-07-31 08:38:16 -05:00
tests: Use fixedcontent variable
Commit ca32929908 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: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
+1
-1
@@ -709,7 +709,7 @@ virTestCompareToFile(const char *strcontent,
|
||||
filecontent)) {
|
||||
virTestDifferenceFull(stderr,
|
||||
filecontent, filename,
|
||||
strcontent, NULL);
|
||||
fixedcontent, NULL);
|
||||
goto failure;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user