mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00: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:
parent
ead3cfc68d
commit
8563560026
@ -709,7 +709,7 @@ virTestCompareToFile(const char *strcontent,
|
||||
filecontent)) {
|
||||
virTestDifferenceFull(stderr,
|
||||
filecontent, filename,
|
||||
strcontent, NULL);
|
||||
fixedcontent, NULL);
|
||||
goto failure;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user