tests: fix pings to IPv6 addresses for the new tun address

This commit is contained in:
Nikos Mavrogiannopoulos
2015-02-16 15:14:07 +01:00
parent 31fb3b680f
commit ebcf2f7352
2 changed files with 7 additions and 7 deletions

View File

@@ -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"

View File

@@ -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