]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
t_client.sh: Do not use CA_CERT variable as indicator for good .rc file
authorFrank Lichtenheld <frank@lichtenheld.com>
Wed, 6 May 2026 14:59:28 +0000 (16:59 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 6 May 2026 16:59:34 +0000 (18:59 +0200)
t_client.sh doesn't actually care about this variable, and our
.rc files do not use it anymore. If you really want to dynamically
skip running t_client.sh just set TEST_RUN_LIST to empty in the .rc
file.

Change-Id: I7cf7146c3c4f1a01b0bcb57e03d09b32f8b59780
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1664
Message-Id: <20260506145933.22301-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg36827.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/t_client.sh.in

index a49de402f51e3107409d71736c2c27b2c7a7485e..48e24462417e8ba624b534e3cd9b0958c1608447 100755 (executable)
@@ -62,11 +62,6 @@ then
     exit 1
 fi
 
-if [ -z "$CA_CERT" ] ; then
-    echo "CA_CERT not defined in 't_client.rc'. SKIP test." >&2
-    exit "${TCLIENT_SKIP_RC}"
-fi
-
 if [ -z "$TEST_RUN_LIST" ] ; then
     echo "TEST_RUN_LIST empty, no tests defined.  SKIP test." >&2
     exit "${TCLIENT_SKIP_RC}"