nixos/tests/networking: Fix link test
The test was looking at the wrong interface and relying on silly behaviour by the dummy driver, which autocreated a `dummy0` interface on modprobe. Fix this by making it look at the actual `foo` interface that the test creates.
This commit is contained in:
parent
cb7aad71e5
commit
60225c6bbd
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ let
|
|||
print(client.succeed("ip l add name foo type dummy"))
|
||||
print(client.succeed("stat /etc/systemd/network/50-foo.link"))
|
||||
client.succeed("udevadm settle")
|
||||
assert "mtu 1442" in client.succeed("ip l show dummy0")
|
||||
assert "mtu 1442" in client.succeed("ip l show dev foo")
|
||||
'';
|
||||
};
|
||||
wlanInterface = let
|
||||
|
|
Loading…
Reference in a new issue