qga: test: Add tests for `merged` flag
authorDaniel Xu <dxu@dxuuu.xyz>
Thu, 23 Mar 2023 00:19:28 +0000 (18:19 -0600)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Thu, 4 May 2023 09:12:48 +0000 (09:12 +0000)
commitc7d74f272450b032cd5d1317ee017b4ffe65ee89
treebfad21eb57b96026cb829fa30e083ab42d4b1fc8
parent810f677ab86e649d449233b435197552024b016d
qga: test: Add tests for `merged` flag

This commit adds a test to ensure `merged` functions as expected.
We also add a negative test to ensure we haven't regressed previous
functionality.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
tests/unit/test-qga.c