Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 993d337c authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

selftests: forwarding: Use PING6 instead of ping for ipv6 multipath test



On Debian jessie ping can not handle IPv6 addresses so the command
fails. Use PING6 which is set to ping6.

Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Reviewed-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5ee0902a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -249,7 +249,7 @@ multipath6_test()


       # Generate 16384 echo requests, each with a random flow label.
       # Generate 16384 echo requests, each with a random flow label.
       for _ in $(seq 1 16384); do
       for _ in $(seq 1 16384); do
	       ip vrf exec vrf-h1 ping 2001:db8:2::2 -F 0 -c 1 -q &> /dev/null
	       ip vrf exec vrf-h1 $PING6 2001:db8:2::2 -F 0 -c 1 -q &> /dev/null
       done
       done


       t1_rp12=$(link_stats_tx_packets_get $rp12)
       t1_rp12=$(link_stats_tx_packets_get $rp12)