Update tests
This commit is contained in:
parent
30c79817d0
commit
a52a02cf92
9
.github/workflows/test_set_1.yml
vendored
9
.github/workflows/test_set_1.yml
vendored
@ -122,12 +122,15 @@ jobs:
|
||||
ls -ld /etc/ipsec.d/vpnclient.p12
|
||||
|
||||
ls -l /usr/bin/ikev2.sh
|
||||
ls -l /usr/bin/addvpnuser.sh
|
||||
ls -l /usr/bin/delvpnuser.sh
|
||||
ls -l /opt/src/ikev2.sh
|
||||
ls -l /opt/src/addvpnuser.sh
|
||||
ls -l /opt/src/delvpnuser.sh
|
||||
|
||||
bash vpnunst.sh <<ANSWERS
|
||||
y
|
||||
ANSWERS
|
||||
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
|
||||
rm -f /etc/ipsec.d/vpnclient*
|
||||
if grep -qi stream /etc/redhat-release \
|
||||
|| grep -qs 'release 8' /etc/oracle-release; then
|
||||
@ -182,7 +185,11 @@ jobs:
|
||||
ls -ld /etc/ipsec.d/vpnclient.p12
|
||||
|
||||
ls -l /usr/bin/ikev2.sh
|
||||
ls -l /usr/bin/addvpnuser.sh
|
||||
ls -l /usr/bin/delvpnuser.sh
|
||||
ls -l /opt/src/ikev2.sh
|
||||
ls -l /opt/src/addvpnuser.sh
|
||||
ls -l /opt/src/delvpnuser.sh
|
||||
|
||||
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
|
||||
rm -f /etc/ipsec.d/vpnclient*
|
||||
|
9
.github/workflows/test_set_2.yml
vendored
9
.github/workflows/test_set_2.yml
vendored
@ -126,12 +126,15 @@ jobs:
|
||||
ls -ld /etc/ipsec.d/vpnclient.p12
|
||||
|
||||
ls -l /usr/bin/ikev2.sh
|
||||
ls -l /usr/bin/addvpnuser.sh
|
||||
ls -l /usr/bin/delvpnuser.sh
|
||||
ls -l /opt/src/ikev2.sh
|
||||
ls -l /opt/src/addvpnuser.sh
|
||||
ls -l /opt/src/delvpnuser.sh
|
||||
|
||||
bash vpnunst.sh <<ANSWERS
|
||||
y
|
||||
ANSWERS
|
||||
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
|
||||
rm -f /etc/ipsec.d/vpnclient*
|
||||
if [ "$os_type" = "alpine" ]; then
|
||||
killall pluto || true
|
||||
@ -188,7 +191,11 @@ jobs:
|
||||
ls -ld /etc/ipsec.d/vpnclient.p12
|
||||
|
||||
ls -l /usr/bin/ikev2.sh
|
||||
ls -l /usr/bin/addvpnuser.sh
|
||||
ls -l /usr/bin/delvpnuser.sh
|
||||
ls -l /opt/src/ikev2.sh
|
||||
ls -l /opt/src/addvpnuser.sh
|
||||
ls -l /opt/src/delvpnuser.sh
|
||||
|
||||
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
|
||||
rm -f /etc/ipsec.d/vpnclient*
|
||||
|
Loading…
x
Reference in New Issue
Block a user