t_client.sh reports a summary at the end:

  Test sets succeeded: none.
  Test sets failed: 1 2 3 4 5.

for tests that are skipped due to the pre-test ping check ("vpn target
IP must not ping before VPN ist started") the script forgot to add
the instance number to the summary line.  Fixed.

Signed-off-by: Gert Doering <g...@greenie.muc.de>
---
 tests/t_client.sh.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/t_client.sh.in b/tests/t_client.sh.in
index 69866fb5..294546be 100755
--- a/tests/t_client.sh.in
+++ b/tests/t_client.sh.in
@@ -298,6 +298,7 @@ do
         echo -e "OK.\n"
     else
        echo -e "FAIL: make sure that ping hosts are ONLY reachable via VPN, 
SKIP test $SUF".
+       SUMMARY_FAIL="$SUMMARY_FAIL $SUF"
        exit_code=31
        continue
     fi
-- 
2.26.2



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to