test-qemu-opts: Cover qemu_opts_parse()
commit694baf57ae103954e2337d1fa22d1dcdfa8e2f5a
authorMarkus Armbruster <armbru@redhat.com>
Tue, 21 Feb 2017 20:13:45 +0000 (21 21:13 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 23 Feb 2017 19:34:24 +0000 (23 20:34 +0100)
tree8475af85bb1dfdbddade8990a921d1e5d00d167c
parent10f25e4844cb9b3f02fb032f88051dd5b65b4206
test-qemu-opts: Cover qemu_opts_parse()

The new tests demonstrate a few bugs, all clearly marked.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1487708048-2131-2-git-send-email-armbru@redhat.com>
[A few additional test cases squashed in, see
Message-ID: <871supjijq.fsf@dusky.pond.sub.org>]
tests/test-qemu-opts.c