1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-12 13:18:14 +03:00

test-network: cleanup dnsmasq related file on setup

Just for safety.
This commit is contained in:
Yu Watanabe 2021-10-15 02:00:27 +09:00
parent 888f57c11c
commit a4a1385e07

View File

@ -4039,6 +4039,8 @@ class NetworkdDHCPClientTests(unittest.TestCase, Utilities):
def setUp(self):
stop_dnsmasq()
remove_dnsmasq_lease_file()
remove_dnsmasq_log_file()
remove_links(self.links)
stop_networkd(show_logs=False)