[PATCH 1/4] test: Drop useless prefix for qemuagent test data

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

 



There's no reason for the files to have qemuagent- prefix
since they all live under qemuagentdata directory.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 tests/qemuagenttest.c                                    | 2 +-
 tests/qemuagentdata/{qemuagent-fsinfo.xml => fsinfo.xml} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename tests/qemuagentdata/{qemuagent-fsinfo.xml => fsinfo.xml} (100%)

diff --git a/tests/qemuagenttest.c b/tests/qemuagenttest.c
index 8d7aaf8a6..f214eb461 100644
--- a/tests/qemuagenttest.c
+++ b/tests/qemuagenttest.c
@@ -180,7 +180,7 @@ testQemuAgentGetFSInfo(const void *data)
     if (!test)
         return -1;
 
-    if (virAsprintf(&domain_filename, "%s/qemuagentdata/qemuagent-fsinfo.xml",
+    if (virAsprintf(&domain_filename, "%s/qemuagentdata/fsinfo.xml",
                     abs_srcdir) < 0)
         goto cleanup;
 
diff --git a/tests/qemuagentdata/qemuagent-fsinfo.xml b/tests/qemuagentdata/fsinfo.xml
similarity index 100%
rename from tests/qemuagentdata/qemuagent-fsinfo.xml
rename to tests/qemuagentdata/fsinfo.xml
-- 
2.13.6

--
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]
  Powered by Linux