]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virbuf: improve testsuite reporting
authorEric Blake <eblake@redhat.com>
Sat, 17 Sep 2011 13:57:26 +0000 (07:57 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 20 Oct 2011 22:02:15 +0000 (16:02 -0600)
commitef696300e63b3b9508b016823e15f4c8296cb85a
tree8617a86a26f2f4a43ac9bdb6f97b579a9ab67456
parent5c09b81be77cd050ddb8a63e33d0e8a855a3b91c
virbuf: improve testsuite reporting

I had some temporary test failures while working on virbuf
improvements in later patches, with output that looked like:

Expected [<]
Actual [  <]

which is pretty hard to figure out.  Adding an Offset designation
made it much easier to find which particular '<' was at the
wrong indentation, to fix the right part of the code.

* tests/testutils.c (virtTestDifference): Make it easier to
diagnose test failures.
tests/testutils.c