From 7fbf039e3c8b03c3a053a2e43202eac97f4a0fbf Mon Sep 17 00:00:00 2001 From: nanli Date: Thu, 12 Dec 2024 08:25:58 +0800 Subject: [PATCH] fix virsh create use incorrect log operation virsh cmd should use debug=True , not shell=True Signed-off-by: nanli --- .../backingchain/blockcopy/blockcopy_with_zero_length_disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt/tests/src/backingchain/blockcopy/blockcopy_with_zero_length_disk.py b/libvirt/tests/src/backingchain/blockcopy/blockcopy_with_zero_length_disk.py index 67ce1f01fb..c738fda1cb 100644 --- a/libvirt/tests/src/backingchain/blockcopy/blockcopy_with_zero_length_disk.py +++ b/libvirt/tests/src/backingchain/blockcopy/blockcopy_with_zero_length_disk.py @@ -53,7 +53,7 @@ def prepare_transient_guest(): test.log.debug("Define guest by xml:\n%s", vmxml) virsh.undefine(vm_name, options='--nvram', debug=True, ignore_status=False) - virsh.create(vmxml.xml, shell=True) + virsh.create(vmxml.xml, debug=True, ignore_status=False) def run_test(): """