]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemuxmlconftests: store suffix in testQemuInfo
authorJán Tomko <jtomko@redhat.com>
Thu, 17 Jul 2025 15:34:59 +0000 (17:34 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 24 Sep 2025 13:11:18 +0000 (15:11 +0200)
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@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
tests/qemuxmlconftest.c
tests/testutilsqemu.h

index b1bc23d6b7aa2bc40d5197699fd87f35b861ebe7..04710ec40ef054428e739485a88059ec21751e66 100644 (file)
@@ -999,6 +999,7 @@ testRun(const char *name,
     va_list ap;
 
     info->name = name;
+    info->suffix = suffix;
     info->conf = testConf;
 
     va_start(ap, testConf);
index 62943bb2d8de411fa6091d0c55faa06af22743e3..a8e0fefa84b1f02912eab7ba6abb79301f7f7ba1 100644 (file)
@@ -98,6 +98,7 @@ struct testQemuArgs {
 
 struct _testQemuInfo {
     const char *name;
+    const char *suffix;
     char *infile;
     char *outfile;
     char *out_xml_active;