From f021702d212c6f78225fd2ed3a08d7ce669731f1 Mon Sep 17 00:00:00 2001 From: Uli Baum Date: Sun, 26 Aug 2018 14:15:15 +0200 Subject: [PATCH] nixos/tests/networking: fix routes tests The output format of `ip route` changed, it now explicitly shows "proto static" for static routes. --- nixos/tests/networking.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/tests/networking.nix b/nixos/tests/networking.nix index cd5d537a3be..76ece1ea3e6 100644 --- a/nixos/tests/networking.nix +++ b/nixos/tests/networking.nix @@ -552,15 +552,15 @@ let testScript = '' my $targetIPv4Table = <<'END'; - 10.0.0.0/16 scope link mtu 1500 + 10.0.0.0/16 proto static scope link mtu 1500 192.168.1.0/24 proto kernel scope link src 192.168.1.2 - 192.168.2.0/24 via 192.168.1.1 + 192.168.2.0/24 via 192.168.1.1 proto static END my $targetIPv6Table = <<'END'; 2001:1470:fffd:2097::/64 proto kernel metric 256 pref medium - 2001:1470:fffd:2098::/64 via fdfd:b3f0::1 metric 1024 pref medium - fdfd:b3f0::/48 metric 1024 pref medium + 2001:1470:fffd:2098::/64 via fdfd:b3f0::1 proto static metric 1024 pref medium + fdfd:b3f0::/48 proto static metric 1024 pref medium END $machine->start;