]> xenbits.xensource.com Git - libvirt.git/commit
tests: Add testing of qemu migration cookie
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Oct 2020 14:10:29 +0000 (15:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 9 Nov 2020 11:25:49 +0000 (12:25 +0100)
commit5511bf32fe8f850d2c45b0e04832af50e8581fc5
treeb754cfe7ee57bfab1bea2bc183ec46180f1cb31c
parentf8b0866878f17e97b7c0d7b178cb4b81a01b6807
tests: Add testing of qemu migration cookie

Migration cookie transports a lot of information but there are no tests
for it.

The test supports both xml2xml testing and also testing of the
population of the migration cookie data from a domain object, although
that option is not very useful as many things are collected from running
qemu and thus can't be tested efficiently here.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/meson.build
tests/qemumigrationcookiexmldata/basic-xml2xml-in.xml [new file with mode: 0644]
tests/qemumigrationcookiexmldata/basic-xml2xml-out.xml [new file with mode: 0644]
tests/qemumigrationcookiexmldata/modern-dom-out-dest.xml [new file with mode: 0644]
tests/qemumigrationcookiexmldata/modern-dom-out-source.xml [new file with mode: 0644]
tests/qemumigrationcookiexmltest.c [new file with mode: 0644]