]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Append newline to tested error messages
authorPeter Krempa <pkrempa@redhat.com>
Thu, 24 Sep 2020 11:09:47 +0000 (13:09 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 24 Sep 2020 11:53:15 +0000 (13:53 +0200)
commit51d8c2f0615dfbbfea73cbcf653e4e1f07597583
tree47201c56396d037d976f4e97cfe648b4b2fb6a93
parent2fefbd03ab09f32b1b15d093096fa44870817751
qemuxml2argvtest: Append newline to tested error messages

'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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvtest.c