[libvirt PATCH 2/8] tests: qemuxmlconftests: store suffix in testQemuInfo

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

 



From: Ján Tomko <jtomko@xxxxxxxxxx>

Next patch will need this to construct the path to the output
file in a deeper level of nesting.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 tests/qemuxmlconftest.c | 1 +
 tests/testutilsqemu.h   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/qemuxmlconftest.c b/tests/qemuxmlconftest.c
index 171a6f1c78..a7e32a5a99 100644
--- a/tests/qemuxmlconftest.c
+++ b/tests/qemuxmlconftest.c
@@ -999,6 +999,7 @@ testRun(const char *name,
     va_list ap;
 
     info->name = name;
+    info->suffix = suffix;
     info->conf = testConf;
 
     va_start(ap, testConf);
diff --git a/tests/testutilsqemu.h b/tests/testutilsqemu.h
index 62943bb2d8..a8e0fefa84 100644
--- a/tests/testutilsqemu.h
+++ b/tests/testutilsqemu.h
@@ -98,6 +98,7 @@ struct testQemuArgs {
 
 struct _testQemuInfo {
     const char *name;
+    const char *suffix;
     char *infile;
     char *outfile;
     char *out_xml_active;
-- 
2.50.1




[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