1
0
mirror of synced 2024-11-22 13:06:02 +03:00

Update tests

This commit is contained in:
hwdsl2 2021-01-19 01:05:48 -06:00
parent 9bf2b630ca
commit f5abf8493c

View File

@ -237,6 +237,22 @@ jobs:
ipsec status | grep -q xauth-psk
ipsec status | grep -q ikev2-cp
bash ikev2.sh <<ANSWERS
3
y
ANSWERS
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
systemctl restart ipsec
fi
sleep 10
! ls -ld /etc/ipsec.d/ikev2.conf
ipsec status | grep -q l2tp-psk
ipsec status | grep -q xauth-psk
! ipsec status | grep -q ikev2-cp
certutil -L -d sql:/etc/ipsec.d
ls -ld vpnsetup.sh
ls -ld ikev2.sh
ls -ld vpnupgrade.sh
@ -417,6 +433,17 @@ jobs:
ipsec status | grep -q xauth-psk
ipsec status | grep -q ikev2-cp
bash ikev2.sh <<ANSWERS
3
y
ANSWERS
! ls -ld /etc/ipsec.d/ikev2.conf
ipsec status | grep -q l2tp-psk
ipsec status | grep -q xauth-psk
! ipsec status | grep -q ikev2-cp
certutil -L -d sql:/etc/ipsec.d
ls -ld vpnsetup.sh
ls -ld ikev2.sh
ls -ld vpnupgrade.sh