forked from mirrors/nixpkgs
nixos/tests/predictable-interfaces: fix failure on aarch64
This commit is contained in:
parent
0bf5c6acb4
commit
0279449209
|
@ -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]])
|
||||
|
|
Loading…
Reference in a new issue