Update tests
This commit is contained in:
parent
d6088751b9
commit
5adaa29947
20
.github/workflows/cron.yml
vendored
20
.github/workflows/cron.yml
vendored
@ -161,6 +161,12 @@ jobs:
|
|||||||
|
|
||||||
bash ikev2.sh <<ANSWERS
|
bash ikev2.sh <<ANSWERS
|
||||||
4
|
4
|
||||||
|
vpnclient2
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
|
bash ikev2.sh <<ANSWERS
|
||||||
|
5
|
||||||
y
|
y
|
||||||
ANSWERS
|
ANSWERS
|
||||||
|
|
||||||
@ -214,6 +220,10 @@ jobs:
|
|||||||
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
||||||
ls -ld /etc/ipsec.d/vpnclient2.p12
|
ls -ld /etc/ipsec.d/vpnclient2.p12
|
||||||
|
|
||||||
|
bash ikev2.sh --revokeclient vpnclient2 <<ANSWERS
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
|
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
|
||||||
sed -i '/pluto/d' /var/log/secure
|
sed -i '/pluto/d' /var/log/secure
|
||||||
pkill -HUP rsyslog
|
pkill -HUP rsyslog
|
||||||
@ -527,6 +537,12 @@ jobs:
|
|||||||
|
|
||||||
bash ikev2.sh <<ANSWERS
|
bash ikev2.sh <<ANSWERS
|
||||||
4
|
4
|
||||||
|
vpnclient2
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
|
bash ikev2.sh <<ANSWERS
|
||||||
|
5
|
||||||
y
|
y
|
||||||
ANSWERS
|
ANSWERS
|
||||||
|
|
||||||
@ -570,6 +586,10 @@ jobs:
|
|||||||
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
||||||
ls -ld /etc/ipsec.d/vpnclient2.p12
|
ls -ld /etc/ipsec.d/vpnclient2.p12
|
||||||
|
|
||||||
|
bash ikev2.sh --revokeclient vpnclient2 <<ANSWERS
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
sed -i '/pluto/d' /var/log/auth.log
|
sed -i '/pluto/d' /var/log/auth.log
|
||||||
pkill -HUP rsyslog
|
pkill -HUP rsyslog
|
||||||
|
|
||||||
|
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -193,6 +193,12 @@ jobs:
|
|||||||
|
|
||||||
bash ikev2.sh <<ANSWERS
|
bash ikev2.sh <<ANSWERS
|
||||||
4
|
4
|
||||||
|
vpnclient2
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
|
bash ikev2.sh <<ANSWERS
|
||||||
|
5
|
||||||
y
|
y
|
||||||
ANSWERS
|
ANSWERS
|
||||||
|
|
||||||
@ -246,6 +252,10 @@ jobs:
|
|||||||
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
||||||
ls -ld /etc/ipsec.d/vpnclient2.p12
|
ls -ld /etc/ipsec.d/vpnclient2.p12
|
||||||
|
|
||||||
|
bash ikev2.sh --revokeclient vpnclient2 <<ANSWERS
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
|
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
|
||||||
sed -i '/pluto/d' /var/log/secure
|
sed -i '/pluto/d' /var/log/secure
|
||||||
pkill -HUP rsyslog
|
pkill -HUP rsyslog
|
||||||
@ -562,6 +572,12 @@ jobs:
|
|||||||
|
|
||||||
bash ikev2.sh <<ANSWERS
|
bash ikev2.sh <<ANSWERS
|
||||||
4
|
4
|
||||||
|
vpnclient2
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
|
bash ikev2.sh <<ANSWERS
|
||||||
|
5
|
||||||
y
|
y
|
||||||
ANSWERS
|
ANSWERS
|
||||||
|
|
||||||
@ -605,6 +621,10 @@ jobs:
|
|||||||
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
ls -ld /etc/ipsec.d/vpnclient2.sswan
|
||||||
ls -ld /etc/ipsec.d/vpnclient2.p12
|
ls -ld /etc/ipsec.d/vpnclient2.p12
|
||||||
|
|
||||||
|
bash ikev2.sh --revokeclient vpnclient2 <<ANSWERS
|
||||||
|
y
|
||||||
|
ANSWERS
|
||||||
|
|
||||||
sed -i '/pluto/d' /var/log/auth.log
|
sed -i '/pluto/d' /var/log/auth.log
|
||||||
pkill -HUP rsyslog
|
pkill -HUP rsyslog
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user