]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemuxml2argv: fail also on unexpected pass
authorPino Toscano <ptoscano@redhat.com>
Thu, 7 Sep 2017 12:19:37 +0000 (14:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 21 Sep 2017 11:05:14 +0000 (13:05 +0200)
commit85afb126ad235e9b22d570751fd5eb0aed1eaabe
tree9dff959bfcb91a0c320ff41fd8c97ab371fe1fd6
parent4673999d0f725844aebebaf161eefaf6a7e54e17
tests: qemuxml2argv: fail also on unexpected pass

If a test expects either a parse error or a failure but then there is
neither a parse error nor a failure, then properly mark the test as
failing, instead of failing later on (e.g. trying to open a
non-existing .args file).

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
tests/qemuxml2argvtest.c