[PATCH 09/12] qemucapabilitiestest: Rename *.caps to *.xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 tests/domaincapstest.c                                                  | 2 +-
 .../{caps_1.2.2-1.x86_64.caps => caps_1.2.2-1.x86_64.xml}               | 0
 .../{caps_1.3.1-1.x86_64.caps => caps_1.3.1-1.x86_64.xml}               | 0
 .../{caps_1.4.2-1.x86_64.caps => caps_1.4.2-1.x86_64.xml}               | 0
 .../{caps_1.5.3-1.x86_64.caps => caps_1.5.3-1.x86_64.xml}               | 0
 .../{caps_1.6.0-1.x86_64.caps => caps_1.6.0-1.x86_64.xml}               | 0
 .../{caps_1.6.50-1.x86_64.caps => caps_1.6.50-1.x86_64.xml}             | 0
 .../{caps_2.1.1-1.x86_64.caps => caps_2.1.1-1.x86_64.xml}               | 0
 .../{caps_2.4.0-1.x86_64.caps => caps_2.4.0-1.x86_64.xml}               | 0
 .../{caps_2.5.0-1.x86_64.caps => caps_2.5.0-1.x86_64.xml}               | 0
 .../{caps_2.6.0-1.x86_64.caps => caps_2.6.0-1.x86_64.xml}               | 0
 tests/qemucapabilitiestest.c                                            | 2 +-
 12 files changed, 2 insertions(+), 2 deletions(-)
 rename tests/qemucapabilitiesdata/{caps_1.2.2-1.x86_64.caps => caps_1.2.2-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_1.3.1-1.x86_64.caps => caps_1.3.1-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_1.4.2-1.x86_64.caps => caps_1.4.2-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_1.5.3-1.x86_64.caps => caps_1.5.3-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_1.6.0-1.x86_64.caps => caps_1.6.0-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_1.6.50-1.x86_64.caps => caps_1.6.50-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_2.1.1-1.x86_64.caps => caps_2.1.1-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_2.4.0-1.x86_64.caps => caps_2.4.0-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_2.5.0-1.x86_64.caps => caps_2.5.0-1.x86_64.xml} (100%)
 rename tests/qemucapabilitiesdata/{caps_2.6.0-1.x86_64.caps => caps_2.6.0-1.x86_64.xml} (100%)

diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c
index 1aa6bb1..f7a3868 100644
--- a/tests/domaincapstest.c
+++ b/tests/domaincapstest.c
@@ -103,7 +103,7 @@ fillQemuCaps(virDomainCapsPtr domCaps,
     virQEMUCapsPtr qemuCaps = NULL;
     virDomainCapsLoaderPtr loader = &domCaps->os.loader;
 
-    if (virAsprintf(&path, "%s/qemucapabilitiesdata/%s.%s.caps",
+    if (virAsprintf(&path, "%s/qemucapabilitiesdata/%s.%s.xml",
                     abs_srcdir, name, virArchToString(arch)) < 0 ||
         !(qemuCaps = qemuTestParseCapabilities(path)))
         goto cleanup;
diff --git a/tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_1.2.2-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_1.3.1-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_1.4.2-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_1.5.3-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_1.6.0-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_1.6.50-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_2.1.1-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_2.4.0-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_2.5.0-1.x86_64.xml
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.caps b/tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.xml
similarity index 100%
rename from tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.caps
rename to tests/qemucapabilitiesdata/caps_2.6.0-1.x86_64.xml
diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c
index 1f2d5d7..2a4fcc7 100644
--- a/tests/qemucapabilitiestest.c
+++ b/tests/qemucapabilitiestest.c
@@ -127,7 +127,7 @@ testQemuCaps(const void *opaque)
 
     if (virAsprintf(&repliesFile, "%s/qemucapabilitiesdata/%s.%s.replies",
                     abs_srcdir, data->base, data->archName) < 0 ||
-        virAsprintf(&capsFile, "%s/qemucapabilitiesdata/%s.%s.caps",
+        virAsprintf(&capsFile, "%s/qemucapabilitiesdata/%s.%s.xml",
                     abs_srcdir, data->base, data->archName) < 0)
         goto cleanup;
 
-- 
2.8.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]