tests: Add QDict clone-flatten test
commitfe170d8bfaa12d63117cad8707ac18c3b2f3bb8e
authorMax Reitz <mreitz@redhat.com>
Mon, 11 Jun 2018 20:52:00 +0000 (11 22:52 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 22 Jun 2018 14:33:46 +0000 (22 16:33 +0200)
tree1fd2cdfab0fe0da555c79c9177f5b90d466ce861
parentbf6e6a37ee8c2d80af258cabdd476498b68188ad
tests: Add QDict clone-flatten test

This new test verifies that qdict_flatten() does not modify a shallow
clone of the given QDict.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20180611205203.2624-8-mreitz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
tests/check-block-qdict.c