]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests: Expose regression in QemuOpts visitor
authorEric Blake <eblake@redhat.com>
Wed, 22 Mar 2017 14:45:23 +0000 (09:45 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 30 Mar 2017 17:28:35 +0000 (12:28 -0500)
commit879b6454be1e29241d5b7d6986adcdb95d883856
tree3be76810a107aeb06abc019cd74db4182fbc984a
parentce37df91f4f9a4577fb12f46b94dde93c19bd661
tests: Expose regression in QemuOpts visitor

Commit 15c2f669e broke the ability of the QemuOpts visitor to
flag extra input parameters, but the regression went unnoticed
because of missing testsuite coverage.  Add a test to cover this;
take the approach already used in 9cb8ef3 of adding a test that
passes (to avoid breaking bisection) but marks with BUG the
behavior that we don't like, so that the actual impact of the
fix in a later patch is easier to see.

CC: qemu-stable@nongnu.org
Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Message-Id: <20170322144525.18964-2-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
(cherry picked from commit 76861f6befc50c30cb71e84b372dc91dd26656a4)
 Conflicts:
tests/test-opts-visitor.c
 * drop context dep on 9cb8ef36 and a9416dc6 tests
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/test-opts-visitor.c