From 7aa86f635832f7d89f90fa46b4a9475193c906f9 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Thu, 28 Apr 2016 17:45:41 +0200 Subject: [PATCH] qemucapabilitiestest: Rename *.caps to *.xml Signed-off-by: Jiri Denemark --- 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 1aa6bb1352..f7a3868ff2 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 8b73a8910a..b8f931af57 100644 --- a/tests/qemucapabilitiestest.c +++ b/tests/qemucapabilitiestest.c @@ -100,7 +100,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;