]> Git Repo - qemu.git/commit
qmp-test: Cover syntax and lexical errors
authorMarkus Armbruster <[email protected]>
Thu, 23 Aug 2018 16:39:33 +0000 (18:39 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 24 Aug 2018 18:26:37 +0000 (20:26 +0200)
commitaed877c53b5b8760b3fdb3605a212188c60f2eb3
tree852e96bdc65fe0ef631e6323806e024944fad4f1
parentd93bb9d5c34c1b4ed97bf824e6459b5516db94f6
qmp-test: Cover syntax and lexical errors

qmp-test neglects to cover QMP input that isn't valid JSON.  libqtest
doesn't let us send such input.  Add qtest_qmp_send_raw() for this
purpose, and put it to use in qmp-test.

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20180823164025[email protected]>
[Commit message typo fixed]
tests/libqtest.c
tests/libqtest.h
tests/qmp-test.c
This page took 0.026478 seconds and 4 git commands to generate.