summary refs log tree commit diff
path: root/nixos/tests/containers-bridge.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@higgsboson.tk>2017-02-15 11:05:50 +0100
committerJörg Thalheim <joerg@higgsboson.tk>2017-02-17 16:04:49 +0100
commitfd78ff23f7dd0db1a468189672aeb85f53d4ec99 (patch)
tree9902acafd3e56d206e03c769374ab235b922038b /nixos/tests/containers-bridge.nix
parenta674dea6756b773e1e41f9df2aaa29e9499f74f9 (diff)
downloadnixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.tar
nixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.tar.gz
nixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.tar.bz2
nixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.tar.lz
nixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.tar.xz
nixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.tar.zst
nixpkgs-fd78ff23f7dd0db1a468189672aeb85f53d4ec99.zip
replace ping6 with ping
reason: after the upgrade of iputils from 20151218 to 20161105
functionality of ping6 and tracepath6 was merged into ping and tracepath.

Ping is now mostly a drop-in replacment for ping6, except that selecting a
specific interface is done by encoding it into the address (ex.: fe80::1%eth0)
rather then specifing it with the `-I` flag.
Diffstat (limited to 'nixos/tests/containers-bridge.nix')
-rw-r--r--nixos/tests/containers-bridge.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/containers-bridge.nix b/nixos/tests/containers-bridge.nix
index bb32d852a6f..598abd22e61 100644
--- a/nixos/tests/containers-bridge.nix
+++ b/nixos/tests/containers-bridge.nix
@@ -66,7 +66,7 @@ import ./make-test.nix ({ pkgs, ...} : {
       "${containerIp6}" =~ /([^\/]+)\/([0-9+])/;
       my $ip6 = $1;
       chomp $ip6;
-      $machine->succeed("ping6 -n -c 1 $ip6");
+      $machine->succeed("ping -n -c 1 $ip6");
       $machine->succeed("curl --fail http://[$ip6]/ > /dev/null");
 
       # Stop the container.