]> xenbits.xensource.com Git - libvirt.git/commit
tests: Use fixedcontent variable
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 13 Sep 2016 10:49:56 +0000 (12:49 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 15 Sep 2016 09:24:32 +0000 (11:24 +0200)
commit8563560026d192c2cf047b550ffd468692245ed6
treedf72abd280cc101ed7b51f768b81c6fd897e40cd
parentead3cfc68db1f092bdda4374085a9e2addb3c2d8
tests: Use fixedcontent variable

Commit ca32929908bbc94116493ad8915e7cd7ae0f57d5 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>
tests/testutils.c