[PATCH] qemumonitortestutils: Fix line counting in qemuMonitorTestProcessFileEntries()

Ján Tomko jtomko at redhat.com
Fri Dec 23 13:41:44 UTC 2022


On a Thursday in 2022, Michal Privoznik wrote:
>It just so happens that our JSON snippets in
>qemucapabilitiesdata/*.replies files are separated by an empty
>line. These empty lines are then overwritten to make a single
>line JSON. Nevertheless, the line counter @line is not
>incremented which then leads to a misleading numbers in errors:
>

s/:/./

>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> tests/qemumonitortestutils.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20221223/5707ec33/attachment.sig>


More information about the libvir-list mailing list