summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2018-02-19 11:31:20 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2018-02-19 11:31:20 +0100
commita1dc3abf90244015c509baf64decdd45377be729 (patch)
tree85a3629cdbaf4384731d8d0fe054e79e29e9549f /nixos/tests
parent0ac5af9f3aa5beaa94fdf84349afb23f33cc4405 (diff)
downloadnixpkgs-a1dc3abf90244015c509baf64decdd45377be729.tar
nixpkgs-a1dc3abf90244015c509baf64decdd45377be729.tar.gz
nixpkgs-a1dc3abf90244015c509baf64decdd45377be729.tar.bz2
nixpkgs-a1dc3abf90244015c509baf64decdd45377be729.tar.lz
nixpkgs-a1dc3abf90244015c509baf64decdd45377be729.tar.xz
nixpkgs-a1dc3abf90244015c509baf64decdd45377be729.tar.zst
nixpkgs-a1dc3abf90244015c509baf64decdd45377be729.zip
nixos/tests: fix test failure due to preferTempAddress changes
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/ipv6.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/ipv6.nix b/nixos/tests/ipv6.nix
index 060f6321679..7a98fd85cfd 100644
--- a/nixos/tests/ipv6.nix
+++ b/nixos/tests/ipv6.nix
@@ -47,7 +47,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       # Detection).
       sub waitForAddress {
           my ($machine, $iface, $scope) = @_;
-          $machine->waitUntilSucceeds("[ `ip -o -6 addr show dev $iface scope $scope | grep -v tentative | wc -l` -eq 1 ]");
+          $machine->waitUntilSucceeds("[ `ip -o -6 addr show dev $iface scope $scope | grep -v tentative | wc -l` -ge 1 ]");
           my $ip = (split /[ \/]+/, $machine->succeed("ip -o -6 addr show dev $iface scope $scope"))[3];
           $machine->log("$scope address on $iface is $ip");
           return $ip;