From a7dde5ebb2d4119e190d07907c2ac00f29775c84 Mon Sep 17 00:00:00 2001 Message-Id: From: Peter Krempa Date: Wed, 26 Feb 2014 14:55:06 +0100 Subject: [PATCH] domainsnapshotxml2xml: Move files with conflicting names https://bugzilla.redhat.com/show_bug.cgi?id=1032370 The new tests that will be added later would collide with files of existing tests. Move and rename those files. (cherry picked from commit 630adbe08d37bfa06054c122d846f4f7352db9fb) Signed-off-by: Jiri Denemark --- tests/domainsnapshotxml2xmlout/disk_snapshot.xml | 80 ---------------------- .../disk_snapshot_redefine.xml | 80 ++++++++++++++++++++++ tests/domainsnapshotxml2xmlout/external_vm.xml | 44 ------------ .../external_vm_redefine.xml | 44 ++++++++++++ tests/domainsnapshotxml2xmltest.c | 4 +- 5 files changed, 126 insertions(+), 126 deletions(-) delete mode 100644 tests/domainsnapshotxml2xmlout/disk_snapshot.xml create mode 100644 tests/domainsnapshotxml2xmlout/disk_snapshot_redefine.xml delete mode 100644 tests/domainsnapshotxml2xmlout/external_vm.xml create mode 100644 tests/domainsnapshotxml2xmlout/external_vm_redefine.xml diff --git a/tests/domainsnapshotxml2xmlout/disk_snapshot.xml b/tests/domainsnapshotxml2xmlout/disk_snapshot.xml deleted file mode 100644 index 5f42bf5..0000000 --- a/tests/domainsnapshotxml2xmlout/disk_snapshot.xml +++ /dev/null @@ -1,80 +0,0 @@ - - my snap name - !@#$%^ - disk-snapshot - - earlier_snap - - 1272917631 - - - - - - - - - - - - - - - - - - - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219100 - 219100 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - - - - - 1 - diff --git a/tests/domainsnapshotxml2xmlout/disk_snapshot_redefine.xml b/tests/domainsnapshotxml2xmlout/disk_snapshot_redefine.xml new file mode 100644 index 0000000..5f42bf5 --- /dev/null +++ b/tests/domainsnapshotxml2xmlout/disk_snapshot_redefine.xml @@ -0,0 +1,80 @@ + + my snap name + !@#$%^ + disk-snapshot + + earlier_snap + + 1272917631 + + + + + + + + + + + + + + + + + + + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219100 + 219100 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ + + + + + + + 1 + diff --git a/tests/domainsnapshotxml2xmlout/external_vm.xml b/tests/domainsnapshotxml2xmlout/external_vm.xml deleted file mode 100644 index 5a87ba6..0000000 --- a/tests/domainsnapshotxml2xmlout/external_vm.xml +++ /dev/null @@ -1,44 +0,0 @@ - - my snap name - !@#$%^ - running - - earlier_snap - - 1272917631 - - - - - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - - fooish - barish - - 219100 - 219100 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu - - - -
- - - - - - - - diff --git a/tests/domainsnapshotxml2xmlout/external_vm_redefine.xml b/tests/domainsnapshotxml2xmlout/external_vm_redefine.xml new file mode 100644 index 0000000..5a87ba6 --- /dev/null +++ b/tests/domainsnapshotxml2xmlout/external_vm_redefine.xml @@ -0,0 +1,44 @@ + + my snap name + !@#$%^ + running + + earlier_snap + + 1272917631 + + + + + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + + fooish + barish + + 219100 + 219100 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu + + + +
+ + + + + + + + diff --git a/tests/domainsnapshotxml2xmltest.c b/tests/domainsnapshotxml2xmltest.c index 3140029..4a1fcce 100644 --- a/tests/domainsnapshotxml2xmltest.c +++ b/tests/domainsnapshotxml2xmltest.c @@ -207,13 +207,13 @@ mymain(void) setenv("PATH", "/bin", 1); DO_TEST_OUT("all_parameters", "9d37b878-a7cc-9f9a-b78f-49b3abad25a8", true); - DO_TEST_OUT("disk_snapshot", "c7a5fdbd-edaf-9455-926a-d65c16db1809", true); + DO_TEST_OUT("disk_snapshot_redefine", "c7a5fdbd-edaf-9455-926a-d65c16db1809", true); DO_TEST_OUT("full_domain", "c7a5fdbd-edaf-9455-926a-d65c16db1809", true); DO_TEST_OUT("noparent_nodescription_noactive", NULL, false); DO_TEST_OUT("noparent_nodescription", NULL, true); DO_TEST_OUT("noparent", "9d37b878-a7cc-9f9a-b78f-49b3abad25a8", false); DO_TEST_OUT("metadata", "c7a5fdbd-edaf-9455-926a-d65c16db1809", false); - DO_TEST_OUT("external_vm", "c7a5fdbd-edaf-9455-926a-d65c16db1809", false); + DO_TEST_OUT("external_vm_redefine", "c7a5fdbd-edaf-9455-926a-d65c16db1809", false); cleanup: if (testSnapshotXMLVariableLineRegex) -- 1.9.0