From 1edac55430ee9fb52a5c06388a9594a1aa754f32 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 10 Sep 2022 09:53:40 -0500 Subject: [PATCH] Update tests --- .github/workflows/test_set_1.yml | 9 ++++++++- .github/workflows/test_set_2.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_set_1.yml b/.github/workflows/test_set_1.yml index 9181c19..077479a 100644 --- a/.github/workflows/test_set_1.yml +++ b/.github/workflows/test_set_1.yml @@ -384,15 +384,22 @@ jobs: ANSWERS bash ikev2.sh --listclients | grep "vpnclient2 \+revoked" + ls -ld /etc/ipsec.d/vpnclient2.mobileconfig && exit 1 + ls -ld /etc/ipsec.d/vpnclient2.sswan && exit 1 + ls -ld /etc/ipsec.d/vpnclient2.p12 && exit 1 bash ikev2.sh --revokeclient vpnclient2 2>&1 | grep -i "already been revoked" bash ikev2.sh --exportclient vpnclient2 2>&1 | grep -i "revoked" bash ikev2.sh --deleteclient nonexistclient 2>&1 | grep -i "does not exist" - bash ikev2.sh --deleteclient vpnclient2 <&1 | grep -i "usage:" bash ikev2.sh --invalidoption 2>&1 | grep -i "usage:" diff --git a/.github/workflows/test_set_2.yml b/.github/workflows/test_set_2.yml index 25a2491..61a9c58 100644 --- a/.github/workflows/test_set_2.yml +++ b/.github/workflows/test_set_2.yml @@ -373,15 +373,22 @@ jobs: ANSWERS bash ikev2.sh --listclients | grep "vpnclient2 \+revoked" + ls -ld /etc/ipsec.d/vpnclient2.mobileconfig && exit 1 + ls -ld /etc/ipsec.d/vpnclient2.sswan && exit 1 + ls -ld /etc/ipsec.d/vpnclient2.p12 && exit 1 bash ikev2.sh --revokeclient vpnclient2 2>&1 | grep -i "already been revoked" bash ikev2.sh --exportclient vpnclient2 2>&1 | grep -i "revoked" bash ikev2.sh --deleteclient nonexistclient 2>&1 | grep -i "does not exist" - bash ikev2.sh --deleteclient vpnclient2 <&1 | grep -i "usage:" bash ikev2.sh --invalidoption 2>&1 | grep -i "usage:"