diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2019-03-19 23:20:23 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2019-03-19 23:20:23 +0100 |
commit | 027944920960aea066540fe1199f49e804c6c1b6 (patch) | |
tree | 9c7800336b08789e5dd93f1e49995726bf7d79ae | |
parent | 0bf5c6acb4a8e1ee85f30401065f1b4d45b75136 (diff) |
nixos/tests/predictable-interfaces: fix failure on aarch64
-rw-r--r-- | nixos/tests/predictable-interface-names.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/predictable-interface-names.nix b/nixos/tests/predictable-interface-names.nix index 8306abb8c42f9..85047f66f23c9 100644 --- a/nixos/tests/predictable-interface-names.nix +++ b/nixos/tests/predictable-interface-names.nix @@ -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]]) |