summary refs log tree commit diff
path: root/nixos/tests/networking.nix
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-08-26 14:24:07 +0200
committerUli Baum <xeji@cat3.de>2018-08-26 14:24:07 +0200
commit3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40 (patch)
tree8f2ec5d5ba307018eb7fe361329d9c184a38a460 /nixos/tests/networking.nix
parentf021702d212c6f78225fd2ed3a08d7ce669731f1 (diff)
downloadnixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.tar
nixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.tar.gz
nixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.tar.bz2
nixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.tar.lz
nixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.tar.xz
nixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.tar.zst
nixpkgs-3f8756ce10d7a3d2cc61b7b2f44e0890a2561e40.zip
nixos/tests/networking: fix "virtual" tests
`ip route` now displays extended tun attributes, so the expected
output of this test changed.

Upstream change: https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=118eda77d6602616bc523a17ee45171e879d1818
Diffstat (limited to 'nixos/tests/networking.nix')
-rw-r--r--nixos/tests/networking.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/networking.nix b/nixos/tests/networking.nix
index 76ece1ea3e6..ff088ad2621 100644
--- a/nixos/tests/networking.nix
+++ b/nixos/tests/networking.nix
@@ -448,8 +448,8 @@ let
 
       testScript = ''
         my $targetList = <<'END';
-        tap0: tap UNKNOWN_FLAGS:800 user 0
-        tun0: tun UNKNOWN_FLAGS:800 user 0
+        tap0: tap persist user 0
+        tun0: tun persist user 0
         END
 
         # Wait for networking to come up