From e13e64f49ac10bcf35c27e09ad5d2a98253a28d6 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 12 Jun 2019 13:49:45 +0200 Subject: [PATCH] tests: Normalize quotes for *-graphics MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Right now *-headless and *-graphics tests are using different quoting styles, which results in the diff between them being basically useless, whereas we would like it to be possible to compare these files directly and easily spot the differences. Convert all *-graphics tests to single quotes, which is the style libvirt itself uses when formatting XML: this is a fact that will come in handy later. Signed-off-by: Andrea Bolognani Reviewed-by: Ján Tomko --- tests/qemuxml2argvdata/aarch64-virt-graphics.xml | 98 +++++++++---------- tests/qemuxml2argvdata/ppc64-pseries-graphics.xml | 88 ++++++++--------- tests/qemuxml2argvdata/s390x-ccw-graphics.xml | 86 ++++++++--------- tests/qemuxml2argvdata/x86_64-pc-graphics.xml | 110 +++++++++++----------- tests/qemuxml2argvdata/x86_64-q35-graphics.xml | 110 +++++++++++----------- 5 files changed, 246 insertions(+), 246 deletions(-) rewrite tests/qemuxml2argvdata/aarch64-virt-graphics.xml (66%) rewrite tests/qemuxml2argvdata/ppc64-pseries-graphics.xml (71%) rewrite tests/qemuxml2argvdata/s390x-ccw-graphics.xml (69%) rewrite tests/qemuxml2argvdata/x86_64-pc-graphics.xml (70%) rewrite tests/qemuxml2argvdata/x86_64-q35-graphics.xml (70%) diff --git a/tests/qemuxml2argvdata/aarch64-virt-graphics.xml b/tests/qemuxml2argvdata/aarch64-virt-graphics.xml dissimilarity index 66% index 0748b8da2d..54cfea634c 100644 --- a/tests/qemuxml2argvdata/aarch64-virt-graphics.xml +++ b/tests/qemuxml2argvdata/aarch64-virt-graphics.xml @@ -1,49 +1,49 @@ - - guest - 33844184-97c0-4cc0-aa7d-206f5803530b - - - - - - 4194304 - 4194304 - 4 - - hvm - /usr/share/AAVMF/AAVMF_CODE.fd - /var/lib/libvirt/qemu/nvram/guest_VARS.fd - - - - - - - - /usr/bin/qemu-system-aarch64 - - - - - - - - - - - - - - - - - - - - - /dev/urandom - - - + + guest + 33844184-97c0-4cc0-aa7d-206f5803530b + + + + + + 4194304 + 4194304 + 4 + + hvm + /usr/share/AAVMF/AAVMF_CODE.fd + /var/lib/libvirt/qemu/nvram/guest_VARS.fd + + + + + + + + /usr/bin/qemu-system-aarch64 + + + + + + + + + + + + + + + + + + + + + /dev/urandom + + + diff --git a/tests/qemuxml2argvdata/ppc64-pseries-graphics.xml b/tests/qemuxml2argvdata/ppc64-pseries-graphics.xml dissimilarity index 71% index 3d54a4f171..c4ef08b2bf 100644 --- a/tests/qemuxml2argvdata/ppc64-pseries-graphics.xml +++ b/tests/qemuxml2argvdata/ppc64-pseries-graphics.xml @@ -1,44 +1,44 @@ - - guest - b35969f7-e7cf-4d90-a9a0-4dd9000f9824 - - - - - - 4194304 - 4194304 - 4 - - hvm - - - - - /usr/bin/qemu-system-ppc64 - - - - - - - - - - - - - - - - - - - - - /dev/urandom - - - + + guest + b35969f7-e7cf-4d90-a9a0-4dd9000f9824 + + + + + + 4194304 + 4194304 + 4 + + hvm + + + + + /usr/bin/qemu-system-ppc64 + + + + + + + + + + + + + + + + + + + + + /dev/urandom + + + diff --git a/tests/qemuxml2argvdata/s390x-ccw-graphics.xml b/tests/qemuxml2argvdata/s390x-ccw-graphics.xml dissimilarity index 69% index 3f54fdf9bd..a9bb3485db 100644 --- a/tests/qemuxml2argvdata/s390x-ccw-graphics.xml +++ b/tests/qemuxml2argvdata/s390x-ccw-graphics.xml @@ -1,43 +1,43 @@ - - guest - a7ca230a-fbe0-48b8-8ea6-25836f8cbc32 - - - - - - 4194304 - 4194304 - 4 - - hvm - - - - - /usr/bin/qemu-system-s390x - - - - - - - - - - - - - - - - - - - - /dev/urandom - - - + + guest + a7ca230a-fbe0-48b8-8ea6-25836f8cbc32 + + + + + + 4194304 + 4194304 + 4 + + hvm + + + + + /usr/bin/qemu-system-s390x + + + + + + + + + + + + + + + + + + + + /dev/urandom + + + diff --git a/tests/qemuxml2argvdata/x86_64-pc-graphics.xml b/tests/qemuxml2argvdata/x86_64-pc-graphics.xml dissimilarity index 70% index 03745eabf4..3c7dbc9438 100644 --- a/tests/qemuxml2argvdata/x86_64-pc-graphics.xml +++ b/tests/qemuxml2argvdata/x86_64-pc-graphics.xml @@ -1,55 +1,55 @@ - - guest - 2c0abd3d-8f18-42c0-a132-9708213aaac9 - - - - - - 4194304 - 4194304 - 4 - - hvm - - - - - - - - - - - - - - - - - /usr/bin/qemu-system-x86_64 - - - - - - - - - - - - - - - - - - - - /dev/urandom - - - + + guest + 2c0abd3d-8f18-42c0-a132-9708213aaac9 + + + + + + 4194304 + 4194304 + 4 + + hvm + + + + + + + + + + + + + + + + + /usr/bin/qemu-system-x86_64 + + + + + + + + + + + + + + + + + + + + /dev/urandom + + + diff --git a/tests/qemuxml2argvdata/x86_64-q35-graphics.xml b/tests/qemuxml2argvdata/x86_64-q35-graphics.xml dissimilarity index 70% index 56db898e64..d3ad87c963 100644 --- a/tests/qemuxml2argvdata/x86_64-q35-graphics.xml +++ b/tests/qemuxml2argvdata/x86_64-q35-graphics.xml @@ -1,55 +1,55 @@ - - guest - 61288c03-0b0d-4f1e-9496-0f0256f2e013 - - - - - - 4194304 - 4194304 - 4 - - hvm - - - - - - - - - - - - - - - - - /usr/bin/qemu-system-x86_64 - - - - - - - - - - - - - - - - - - - - /dev/urandom - - - + + guest + 61288c03-0b0d-4f1e-9496-0f0256f2e013 + + + + + + 4194304 + 4194304 + 4 + + hvm + + + + + + + + + + + + + + + + + /usr/bin/qemu-system-x86_64 + + + + + + + + + + + + + + + + + + + + /dev/urandom + + + -- 2.11.4.GIT