Merge pull request #57925 from rnhmjoj/ifnames-fix
nixos/tests/predictable-interfaces: fix failure on aarch64
This commit is contained in:
commit
2924563f88
|
@ -20,8 +20,7 @@ in pkgs.lib.listToAttrs (pkgs.lib.crossLists (predictable: withNetworkd: {
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
print $machine->succeed("ip link");
|
print $machine->succeed("ip link");
|
||||||
$machine->succeed("ip link show ${if predictable then "ens3" else "eth0"}");
|
$machine->${if predictable then "fail" else "succeed"}("ip link show eth0 ");
|
||||||
$machine->fail("ip link show ${if predictable then "eth0" else "ens3"}");
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}) [[true false] [true false]])
|
}) [[true false] [true false]])
|
||||||
|
|
Loading…
Reference in a new issue