git.iko.soy/typeable/nixpkgs
on master help sign in
Merge #35169: nixos/tests: fix ipv6 test failure
commit8b1cf100cd8badad6e1b6d4650b904b88aa870db authorVladimír Čunát <vcunat@gmail.com> dateMon 19 Feb 2018, 11:38 (9 years ago) parent9b66275a1dc3ab
1 file changed+1−1
nixos/tests/ipv6.nix+1−1
nixos/tests/ipv6.nix+1−1
@@ -47,7 +47,7 @@ import ./make-test.nix ({ pkgs, ...} : {
4747 # Detection).
4848 sub waitForAddress {
4949 my ($machine, $iface, $scope) = @_;
50− $machine->waitUntilSucceeds("[ `ip -o -6 addr show dev $iface scope $scope | grep -v tentative | wc -l` -eq 1 ]");
50+ $machine->waitUntilSucceeds("[ `ip -o -6 addr show dev $iface scope $scope | grep -v tentative | wc -l` -ge 1 ]");
5151 my $ip = (split /[ \/]+/, $machine->succeed("ip -o -6 addr show dev $iface scope $scope"))[3];
5252 $machine->log("$scope address on $iface is $ip");
5353 return $ip;