tests/qtest/migration: Add negative tests to validate migration QAPIs
authorHet Gala <het.gala@nutanix.com>
Tue, 12 Mar 2024 20:26:34 +0000 (20:26 +0000)
committerPeter Xu <peterx@redhat.com>
Tue, 23 Apr 2024 22:36:01 +0000 (18:36 -0400)
commitbc6307a5eea8cfee4a0239a61151da2d83e88e5b
tree03826d3e07b7401ea8ddf530cb73bc446140ee64
parent9d36d62c00fce08103cc6a801365e5df45acbaa6
tests/qtest/migration: Add negative tests to validate migration QAPIs

Migration QAPI arguments - uri and channels are mutually exhaustive.
Add negative validation tests, one with both arguments present and
one with none present.

Signed-off-by: Het Gala <het.gala@nutanix.com>
Suggested-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240312202634.63349-9-het.gala@nutanix.com
Signed-off-by: Peter Xu <peterx@redhat.com>
tests/qtest/migration-test.c