From b7a7af11a315a73609a96ef703d67110ee1b6bf4 Mon Sep 17 00:00:00 2001 From: Francesc Guasch Date: Mon, 2 Oct 2023 10:24:55 +0200 Subject: [PATCH] wip: do not remove when mock vm --- t/request/70_network.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/request/70_network.t b/t/request/70_network.t index 29b81b020..2335bdc72 100644 --- a/t/request/70_network.t +++ b/t/request/70_network.t @@ -44,6 +44,7 @@ sub test_list_nats($vm) { } sub _remove_qemu_bridges($vm, $bridges) { + return @$bridges if $vm->type eq 'Void'; my @nat = $vm->list_network_interfaces('nat'); my %bridges = map { $_ => 1 } @$bridges;