···160160 node3.wait_for_unit("network.target")
161161162162 client_ipv4_table = """
163163- 192.168.1.2 dev vrf1 proto static metric 100
163163+ 192.168.1.2 dev vrf1 proto static metric 100
164164 192.168.2.3 dev vrf2 proto static metric 100
165165 """.strip()
166166 vrf1_table = """
167167- broadcast 192.168.1.0 dev eth1 proto kernel scope link src 192.168.1.1
168168- 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
169169- local 192.168.1.1 dev eth1 proto kernel scope host src 192.168.1.1
167167+ broadcast 192.168.1.0 dev eth1 proto kernel scope link src 192.168.1.1
168168+ 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.1
169169+ local 192.168.1.1 dev eth1 proto kernel scope host src 192.168.1.1
170170 broadcast 192.168.1.255 dev eth1 proto kernel scope link src 192.168.1.1
171171 """.strip()
172172 vrf2_table = """
173173- broadcast 192.168.2.0 dev eth2 proto kernel scope link src 192.168.2.1
174174- 192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.1
175175- local 192.168.2.1 dev eth2 proto kernel scope host src 192.168.2.1
173173+ broadcast 192.168.2.0 dev eth2 proto kernel scope link src 192.168.2.1
174174+ 192.168.2.0/24 dev eth2 proto kernel scope link src 192.168.2.1
175175+ local 192.168.2.1 dev eth2 proto kernel scope host src 192.168.2.1
176176 broadcast 192.168.2.255 dev eth2 proto kernel scope link src 192.168.2.1
177177 """.strip()
178178
+1-1
nixos/tests/tiddlywiki.nix
···4444 configured.succeed(
4545 "curl --fail -o /dev/null 127.0.0.1:3000 --user somelogin:somesecret"
4646 )
4747-4747+4848 with subtest("restart preserves changes"):
4949 # given running wiki
5050 default.wait_for_unit("tiddlywiki.service")