diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-12-18 07:09:42 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-12-18 07:09:42 +0100 |
commit | 4c61faa009df175b77148ce587ade14fe9b31b12 (patch) | |
tree | 6a125757d2bb07c84475e90cc3d2e71209c80876 /nixos/release.nix | |
parent | 662ab05119e88f70d6b43518bffec0bca4bdb474 (diff) |
nixos/tests/networking: Add a test for loopback
It serves as a regression test, because right now if you enable
networking.useNetworkd the default loopback interface doesn't get
assigned any IP addresses.
To be sure, I have bisected this and it has been introduced with the
update to systemd 228 in 1da87d4.
Only the "scripted" networking tests have to succeed in order to trigger
a channel update of nixos-unstable, so I'm leaving this test as broken
and we have to figure out next what's the *exact* reason for the
breakage.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index b5ac97b3b94f..e1235c5fe28e 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -256,6 +256,7 @@ in rec { tests.mysqlReplication = callTest tests/mysql-replication.nix {}; tests.nat.firewall = callTest tests/nat.nix { withFirewall = true; }; tests.nat.standalone = callTest tests/nat.nix { withFirewall = false; }; + tests.networking.networkd.loopback = callTest tests/networking.nix { networkd = true; test = "loopback"; }; tests.networking.networkd.static = callTest tests/networking.nix { networkd = true; test = "static"; }; tests.networking.networkd.dhcpSimple = callTest tests/networking.nix { networkd = true; test = "dhcpSimple"; }; tests.networking.networkd.dhcpOneIf = callTest tests/networking.nix { networkd = true; test = "dhcpOneIf"; }; @@ -264,6 +265,7 @@ in rec { tests.networking.networkd.macvlan = callTest tests/networking.nix { networkd = true; test = "macvlan"; }; tests.networking.networkd.sit = callTest tests/networking.nix { networkd = true; test = "sit"; }; tests.networking.networkd.vlan = callTest tests/networking.nix { networkd = true; test = "vlan"; }; + tests.networking.scripted.loopback = callTest tests/networking.nix { networkd = false; test = "loopback"; }; tests.networking.scripted.static = callTest tests/networking.nix { networkd = false; test = "static"; }; tests.networking.scripted.dhcpSimple = callTest tests/networking.nix { networkd = false; test = "dhcpSimple"; }; tests.networking.scripted.dhcpOneIf = callTest tests/networking.nix { networkd = false; test = "dhcpOneIf"; }; |