From ebcf2f735268c4fd72a1e4d250d13bd35270fef5 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 16 Feb 2015 15:14:07 +0100 Subject: [PATCH] tests: fix pings to IPv6 addresses for the new tun address --- tests/full-test | 2 +- tests/radius-test | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/full-test b/tests/full-test index 2f9876b9..5e69717a 100755 --- a/tests/full-test +++ b/tests/full-test @@ -77,7 +77,7 @@ if test $? != 0;then stop fi -ping6 -w 5 fd91:6d87:7341:db6a:: +ping6 -w 5 fd91:6d87:7341:db6a::1 if test $? != 0;then kill $PID echo "Cannot ping the IPv6 of ocserv" diff --git a/tests/radius-test b/tests/radius-test index cd49f3c5..6f6518c3 100755 --- a/tests/radius-test +++ b/tests/radius-test @@ -80,12 +80,12 @@ if test $? != 0;then stop fi -#ping6 -w 5 fd91:6d87:7341:db6a:: -#if test $? != 0;then -# kill $PID -# echo "Cannot ping the IPv6 of ocserv" -# stop -#fi +ping6 -w 5 fd91:6d87:7341:db6a::1 +if test $? != 0;then + kill $PID + echo "Cannot ping the IPv6 of ocserv" + stop +fi echo "UserKnownHostsFile ./known-hosts.tmp" >config.tmp printf "#\!/bin/sh\n" >echo-admin.tmp