diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2018-02-19 11:38:16 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2018-02-19 11:38:16 +0100 |
commit | 8b1cf100cd8badad6e1b6d4650b904b88aa870db (patch) | |
tree | 997789b1d8f3017d68259fe2b4c345a20bad1bac /nixos | |
parent | 9b662759053eabe0ccea199b00859243593151f1 (diff) | |
parent | a1dc3abf90244015c509baf64decdd45377be729 (diff) | |
download | nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.tar nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.tar.gz nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.tar.bz2 nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.tar.lz nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.tar.xz nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.tar.zst nixlib-8b1cf100cd8badad6e1b6d4650b904b88aa870db.zip |
Merge #35169: nixos/tests: fix ipv6 test failure
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/ipv6.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/ipv6.nix b/nixos/tests/ipv6.nix index 060f63216796..7a98fd85cfda 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; |