On 1/15/18 11:18 AM, Ido Schimmel wrote:
+### Tests ###
+ping_test() +{
- local vrf_name=$1
- local dip=$2
- RET=0
- ip vrf exec $vrf_name ping $dip -c 10 -i 0.1 -w 2 &> /dev/null
- check_err $?
- print_result "ping"
+}
IPv6 addresses on debian need ping6:
root@mlx-2700-05:~/selftests# ip vrf exec vrf-h1 ping 2001:db8:2::2 -c 10 -i 0.1 -w 2 ping: unknown host 2001:db8:2::2
-- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html