Update tests
This commit is contained in:
parent
9bf2b630ca
commit
f5abf8493c
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
@ -237,6 +237,22 @@ jobs:
|
|||||||
ipsec status | grep -q xauth-psk
|
ipsec status | grep -q xauth-psk
|
||||||
ipsec status | grep -q ikev2-cp
|
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 vpnsetup.sh
|
||||||
ls -ld ikev2.sh
|
ls -ld ikev2.sh
|
||||||
ls -ld vpnupgrade.sh
|
ls -ld vpnupgrade.sh
|
||||||
@ -417,6 +433,17 @@ jobs:
|
|||||||
ipsec status | grep -q xauth-psk
|
ipsec status | grep -q xauth-psk
|
||||||
ipsec status | grep -q ikev2-cp
|
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 vpnsetup.sh
|
||||||
ls -ld ikev2.sh
|
ls -ld ikev2.sh
|
||||||
ls -ld vpnupgrade.sh
|
ls -ld vpnupgrade.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user