libvirt/tests/qemustatusxml2xmldata
Peter Krempa 947d2db31b Use virHashForEachSorted in tested code
The simplest way to write tests is to check the output against expected
output, but we must ensure that the output is stable. We can use
virHashForEachSorted as a hash iterator to ensure stable ordering.

This patch fixes 3 instances of hash iteration which is tested in
various parts, including test output changes in appropriate places.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Matt Coleman <matt@datto.com>
2020-11-06 10:31:57 +01:00
..
backup-pull-in.xml qemustatusxml2xml: backup-pull: Test private data formatting/parsing 2020-09-15 15:25:22 +02:00
backup-pull-out.xml
blockjob-blockdev-in.xml Use virHashForEachSorted in tested code 2020-11-06 10:31:57 +01:00
blockjob-blockdev-out.xml
blockjob-mirror-in.xml
blockjob-mirror-out.xml
migration-in-params-in.xml
migration-in-params-out.xml
migration-out-nbd-in.xml
migration-out-nbd-out.xml
migration-out-nbd-tls-in.xml
migration-out-nbd-tls-out.xml
migration-out-params-in.xml
migration-out-params-out.xml
modern-in.xml qemu: domain: Fill in (i)SCSI backend nodename if it is not present in status XML 2020-09-15 15:20:23 +02:00
modern-out.xml
upgrade-in.xml qemu: domain: Fill in (i)SCSI backend nodename if it is not present in status XML 2020-09-15 15:20:23 +02:00
upgrade-out.xml qemu: domain: Fill in (i)SCSI backend nodename if it is not present in status XML 2020-09-15 15:20:23 +02:00
vcpus-multi-in.xml
vcpus-multi-out.xml