nixos/tests/predictable-interfaces: fix failure on aarch64

This commit is contained in:
rnhmjoj 2019-03-19 23:20:23 +01:00
parent 0bf5c6acb4
commit 0279449209
No known key found for this signature in database
GPG key ID: 91BE884FBA4B591A

View file

@ -20,8 +20,7 @@ in pkgs.lib.listToAttrs (pkgs.lib.crossLists (predictable: withNetworkd: {
testScript = ''
print $machine->succeed("ip link");
$machine->succeed("ip link show ${if predictable then "ens3" else "eth0"}");
$machine->fail("ip link show ${if predictable then "eth0" else "ens3"}");
$machine->${if predictable then "fail" else "succeed"}("ip link show eth0 ");
'';
};
}) [[true false] [true false]])