1
0
mirror of synced 2024-11-22 21:16:02 +03:00

Update tests

This commit is contained in:
hwdsl2 2021-01-23 16:09:43 -06:00
parent 2864473576
commit d67c546000

View File

@ -146,6 +146,7 @@ jobs:
ANSWERS ANSWERS
ls -ld /etc/ipsec.d/vpnclient-*.mobileconfig ls -ld /etc/ipsec.d/vpnclient-*.mobileconfig
ls -ld /etc/ipsec.d/vpnclient-*.sswan
ls -ld /etc/ipsec.d/vpnclient-*.p12 ls -ld /etc/ipsec.d/vpnclient-*.p12
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
systemctl restart ipsec systemctl restart ipsec
@ -166,6 +167,7 @@ jobs:
ANSWERS ANSWERS
ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig
ls -ld /etc/ipsec.d/vpnclient2-*.sswan
ls -ld /etc/ipsec.d/vpnclient2-*.p12 ls -ld /etc/ipsec.d/vpnclient2-*.p12
rm -f /etc/ipsec.d/vpnclient2-* rm -f /etc/ipsec.d/vpnclient2-*
@ -176,6 +178,7 @@ jobs:
ANSWERS ANSWERS
ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig
ls -ld /etc/ipsec.d/vpnclient2-*.sswan
ls -ld /etc/ipsec.d/vpnclient2-*.p12 ls -ld /etc/ipsec.d/vpnclient2-*.p12
if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then if [ "$1" = "centos" ] || [ "$1" = "amazon" ]; then
@ -374,6 +377,7 @@ jobs:
bash ikev2.sh --auto bash ikev2.sh --auto
ls -ld /etc/ipsec.d/vpnclient-*.mobileconfig ls -ld /etc/ipsec.d/vpnclient-*.mobileconfig
ls -ld /etc/ipsec.d/vpnclient-*.sswan
ls -ld /etc/ipsec.d/vpnclient-*.p12 ls -ld /etc/ipsec.d/vpnclient-*.p12
sleep 10 sleep 10
grep pluto /var/log/auth.log | tail -n 20 grep pluto /var/log/auth.log | tail -n 20
@ -388,6 +392,7 @@ jobs:
ANSWERS ANSWERS
ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig
ls -ld /etc/ipsec.d/vpnclient2-*.sswan
ls -ld /etc/ipsec.d/vpnclient2-*.p12 ls -ld /etc/ipsec.d/vpnclient2-*.p12
rm -f /etc/ipsec.d/vpnclient2-* rm -f /etc/ipsec.d/vpnclient2-*
@ -398,6 +403,7 @@ jobs:
ANSWERS ANSWERS
ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig ls -ld /etc/ipsec.d/vpnclient2-*.mobileconfig
ls -ld /etc/ipsec.d/vpnclient2-*.sswan
ls -ld /etc/ipsec.d/vpnclient2-*.p12 ls -ld /etc/ipsec.d/vpnclient2-*.p12
sed -i '/pluto/d' /var/log/auth.log sed -i '/pluto/d' /var/log/auth.log