]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: virlogtest: Fix testLogParseOutputs return value
authorErik Skultety <eskultet@redhat.com>
Thu, 17 Mar 2016 09:16:19 +0000 (10:16 +0100)
committerErik Skultety <eskultet@redhat.com>
Thu, 24 Mar 2016 15:39:28 +0000 (16:39 +0100)
commitf2b799cfc7f474741b0311c6efb472153313723b
tree9a3e7b26658c33ee30cfe896404a27e3eede7775
parent68b726b93c11cc9089713667b313cae46e18a16b
tests: virlogtest: Fix testLogParseOutputs return value

The test can return positive value even though it should have failed. It just
returns the value parser returned, which should be flipped back to -1 if
something went wrong or the result was unexpected, but it isn't.
tests/virlogtest.c