]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-network: cleanup dnsmasq related file on setup 21056/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Oct 2021 17:00:27 +0000 (02:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 Oct 2021 18:49:05 +0000 (03:49 +0900)
Just for safety.

test/test-network/systemd-networkd-tests.py

index dca101f39e1399b5ae1a5a0f2f005f9f99c96bb9..733a8d5aa55dcdcbedf065f51c02686dfc944c6c 100755 (executable)
@@ -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)