[PATCH] qemuxml2argvtest: Append newline to tested error messages

Ján Tomko jtomko at redhat.com
Thu Sep 24 11:46:30 UTC 2020


On a Thursday in 2020, Peter Krempa wrote:
>'virTestCompareToFile' automatically fixes newline if it is not present
>in the input string but is present in the file. In this case we need to
>append the erorr messages with a newline so that
>VIR_TEST_REGENERATE_OUTPUT produces files which will pass syntax-check.
>
>Fixes: 9ec77eef2df
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/qemuxml2argvtest.c | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)
>

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: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200924/ad7fb8ca/attachment-0001.sig>


More information about the libvir-list mailing list