]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemucapsprobemock: Simplify and extract skipping of empty lines
authorPeter Krempa <pkrempa@redhat.com>
Thu, 3 May 2018 15:34:43 +0000 (17:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Jun 2018 08:27:50 +0000 (10:27 +0200)
commit0ed2716531565ce18a4a208bbdf9efe476f2b8ec
tree3ef5777b2aa5b7ac3fea31b6dd542921676d5ec9
parent1025264ec59827a2fd581eb72367c51c109aec2d
tests: qemucapsprobemock: Simplify and extract skipping of empty lines

The prettyfied output may sometimes contain empty lines which would
desynchonize the test monitor workers. The skipping code can be much
simplified though. Also a extract it so so that it's obvious what
it's doing and can be reused.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemucapsprobemock.c