From: Peter Krempa Date: Wed, 12 Mar 2025 12:48:27 +0000 (+0100) Subject: domainbackupxml2xml: Add test case with unix socket server for pull mode backup X-Git-Tag: v11.2.0-rc1~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67d2787807d12e356db9b2a75ce3b85174fced60;p=thirdparty%2Flibvirt.git domainbackupxml2xml: Add test case with unix socket server for pull mode backup While we show the example in the docs we don't have an example XML for exercising the parser/formatter and schema. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/domainbackupxml2xmlin/backup-pull-unix.xml b/tests/domainbackupxml2xmlin/backup-pull-unix.xml new file mode 100644 index 0000000000..cde9ceafc9 --- /dev/null +++ b/tests/domainbackupxml2xmlin/backup-pull-unix.xml @@ -0,0 +1,22 @@ + + 1525889631 + + + + + + + + + + + + + + + + + + + + diff --git a/tests/domainbackupxml2xmlout/backup-pull-unix.xml b/tests/domainbackupxml2xmlout/backup-pull-unix.xml new file mode 100644 index 0000000000..811edfdf39 --- /dev/null +++ b/tests/domainbackupxml2xmlout/backup-pull-unix.xml @@ -0,0 +1,23 @@ + + 1525889631 + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/genericxml2xmltest.c b/tests/genericxml2xmltest.c index 61613d21f9..b46b9515c3 100644 --- a/tests/genericxml2xmltest.c +++ b/tests/genericxml2xmltest.c @@ -244,6 +244,7 @@ mymain(void) DO_TEST_BACKUP("empty"); DO_TEST_BACKUP("backup-pull"); + DO_TEST_BACKUP("backup-pull-unix"); DO_TEST_BACKUP("backup-pull-seclabel"); DO_TEST_BACKUP("backup-pull-encrypted"); DO_TEST_BACKUP("backup-push");