mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
qemucapabilitiesdata: Separate version from architecture with a '_'
Parsing a version where components are separated by dots, while other components are also separated by dots is a bit insane. Separate the version by an underscore. To achieve this we rename all the caps files and adjust the appropriate places formatting the path. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -224,7 +224,7 @@ iterateCapsFile(const char *inputDir,
|
||||
const char *suffix,
|
||||
void *opaque G_GNUC_UNUSED)
|
||||
{
|
||||
g_autofree char *repliesFile = g_strdup_printf("%s/%s_%s.%s.%s", inputDir, prefix, version, archName, suffix);
|
||||
g_autofree char *repliesFile = g_strdup_printf("%s/%s_%s_%s.%s", inputDir, prefix, version, archName, suffix);
|
||||
|
||||
return virTestRun(repliesFile, testCapsFile, repliesFile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user