mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
tests/functional: honour requested test VM name in QEMUMachine
The functional test case class is going to the trouble of passing around a machine name, but then fails to give this QEMUMachine. As a result, QEMUMachine will create a completely random name. Since log file names match the machine name, this results in log files accumulating over time. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20241121154218.1423005-11-berrange@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20241121165806.476008-11-alex.bennee@linaro.org>
This commit is contained in:
parent
e6d69e0f3b
commit
9f85aff93f
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ class QemuSystemTest(QemuBaseTest):
|
||||||
|
|
||||||
def _new_vm(self, name, *args):
|
def _new_vm(self, name, *args):
|
||||||
vm = QEMUMachine(self.qemu_bin,
|
vm = QEMUMachine(self.qemu_bin,
|
||||||
|
name=name,
|
||||||
base_temp_dir=self.workdir,
|
base_temp_dir=self.workdir,
|
||||||
log_dir=self.logdir)
|
log_dir=self.logdir)
|
||||||
self.log.debug('QEMUMachine "%s" created', name)
|
self.log.debug('QEMUMachine "%s" created', name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue