tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #35169: nixos/tests: fix ipv6 test failure
Vladimír Čunát
8 years ago
8b1cf100
9b662759
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
tests
ipv6.nix
+1
-1
nixos/tests/ipv6.nix
···
47
# Detection).
48
sub waitForAddress {
49
my ($machine, $iface, $scope) = @_;
50
-
$machine->waitUntilSucceeds("[ `ip -o -6 addr show dev $iface scope $scope | grep -v tentative | wc -l` -eq 1 ]");
51
my $ip = (split /[ \/]+/, $machine->succeed("ip -o -6 addr show dev $iface scope $scope"))[3];
52
$machine->log("$scope address on $iface is $ip");
53
return $ip;
···
47
# Detection).
48
sub waitForAddress {
49
my ($machine, $iface, $scope) = @_;
50
+
$machine->waitUntilSucceeds("[ `ip -o -6 addr show dev $iface scope $scope | grep -v tentative | wc -l` -ge 1 ]");
51
my $ip = (split /[ \/]+/, $machine->succeed("ip -o -6 addr show dev $iface scope $scope"))[3];
52
$machine->log("$scope address on $iface is $ip");
53
return $ip;