mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
tests: updated IPv6 addresses
This commit is contained in:
@@ -26,4 +26,4 @@ ADD dev-tun.tgz /dev/
|
|||||||
|
|
||||||
RUN ldconfig
|
RUN ldconfig
|
||||||
|
|
||||||
CMD sshd-keygen;/usr/sbin/sshd;echo testuser123|kinit testuser@KERBEROS.TEST && /usr/sbin/openconnect kerberos.test --cafile /etc/ca.pem -b && sleep 5 && ping -w 5 192.168.1.1 && ping6 -w 5 fd91:6d87:7341:db6a::1 && kdestroy && ( /usr/sbin/openconnect kerberos.test --cafile /etc/ca.pem --cookieonly --non-inter || touch /tmp/ok1 );echo testuser123|kinit testuser@KERBEROS.TEST && sleep 61 && ( /usr/sbin/openconnect kerberos.test --non-inter --cafile /etc/ca.pem || touch /tmp/ok2 );sleep 3600
|
CMD sshd-keygen;/usr/sbin/sshd;echo testuser123|kinit testuser@KERBEROS.TEST && /usr/sbin/openconnect kerberos.test --cafile /etc/ca.pem -b && sleep 5 && ping -w 5 192.168.1.1 && ping6 -w 5 fd91:6d87:7341:db6a:0:52:190c:be01 && kdestroy && ( /usr/sbin/openconnect kerberos.test --cafile /etc/ca.pem --cookieonly --non-inter || touch /tmp/ok1 );echo testuser123|kinit testuser@KERBEROS.TEST && sleep 61 && ( /usr/sbin/openconnect kerberos.test --non-inter --cafile /etc/ca.pem || touch /tmp/ok2 );sleep 3600
|
||||||
|
|||||||
+1
-1
@@ -92,7 +92,7 @@ if test $? != 0;then
|
|||||||
stop
|
stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ping6 -w 5 fd91:6d87:7341:db6a::1
|
ping6 -w 5 fd91:6d87:7341:db6a:0:52:190c:be01
|
||||||
if test $? != 0;then
|
if test $? != 0;then
|
||||||
kill $PID
|
kill $PID
|
||||||
echo "Cannot ping the IPv6 of ocserv"
|
echo "Cannot ping the IPv6 of ocserv"
|
||||||
|
|||||||
+1
-1
@@ -95,7 +95,7 @@ if test $? != 0;then
|
|||||||
stop
|
stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ping6 -w 5 fd91:6d87:7341:dd6b::1
|
ping6 -w 5 fd91:6d87:7341:dd6b:0:52:190c:be01
|
||||||
if test $? != 0;then
|
if test $? != 0;then
|
||||||
kill $PID
|
kill $PID
|
||||||
echo "Cannot ping the IPv6 of ocserv"
|
echo "Cannot ping the IPv6 of ocserv"
|
||||||
|
|||||||
Reference in New Issue
Block a user