Skip to content

Commit

Permalink
Merge pull request #57929 from rnhmjoj/ifnames-fix-back
Browse files Browse the repository at this point in the history
[backport] nixos/tests/predictable-interfaces: fix failure on aarch64
  • Loading branch information
flokli committed Mar 27, 2019
2 parents 9f94652 + 31d6c5c commit 322ff2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixos/tests/predictable-interface-names.nix
Expand Up @@ -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]])

0 comments on commit 322ff2f

Please sign in to comment.