]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
networkxml2conftest: Drop routed-network-no-dns test case
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 27 Jan 2026 20:24:07 +0000 (21:24 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 29 Jan 2026 12:38:21 +0000 (13:38 +0100)
This test case is spurious. If this was real life scenario then
no dnsmasq would be spawned and yet, the test tries to generate
dnsmasq config for it. Just drop the test case and move on.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/networkxml2confdata/routed-network-no-dns.conf [deleted file]
tests/networkxml2confdata/routed-network-no-dns.xml [deleted file]
tests/networkxml2conftest.c

diff --git a/tests/networkxml2confdata/routed-network-no-dns.conf b/tests/networkxml2confdata/routed-network-no-dns.conf
deleted file mode 100644 (file)
index 83cc85e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-##WARNING:  THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
-##OVERWRITTEN AND LOST.  Changes to this configuration should be made using:
-##    virsh net-edit local
-## or other application using the libvirt API.
-##
-## dnsmasq conf file created by libvirt
-strict-order
-port=0
-except-interface=lo
-bind-dynamic
-interface=virbr1
diff --git a/tests/networkxml2confdata/routed-network-no-dns.xml b/tests/networkxml2confdata/routed-network-no-dns.xml
deleted file mode 100644 (file)
index 70d0417..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<network>
-  <name>local</name>
-  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
-  <bridge name="virbr1"/>
-  <mac address='12:34:56:78:9A:BC'/>
-  <forward mode="route" dev="eth1"/>
-  <dns enable='no'/>
-  <ip address="192.168.122.1" netmask="255.255.255.0">
-  </ip>
-</network>
index 70fb3a37b90d401140781446724cf0fc5fe3a633..aa0adbdd52d2516bb41835990ca404b0c85a1fb6 100644 (file)
@@ -174,7 +174,6 @@ mymain(void)
     DO_TEST("nat-network-dns-srv-record-minimal", full);
     DO_TEST("nat-network-name-with-quotes", full);
     DO_TEST("routed-network", full);
-    DO_TEST("routed-network-no-dns", full);
     DO_TEST("open-network", full);
     DO_TEST("nat-network", full);
     DO_TEST("nat-network-dns-txt-record", full);