diff options
author | Frank Lichtenheld | 2024-03-08 11:28:18 +0100 |
---|---|---|
committer | Gert Doering | 2024-03-08 12:27:05 +0100 |
commit | 0c7cf0694ee6f878168330e9a084c255c51a9e8b (patch) | |
tree | 24e9445610475d5b8824e6a2048f7bf9c1eb40f8 /src | |
parent | 4076d24f2f4adc432753aa62bd8158e3bf89ee21 (diff) | |
download | openvpn-0c7cf0694ee6f878168330e9a084c255c51a9e8b.zip openvpn-0c7cf0694ee6f878168330e9a084c255c51a9e8b.tar.gz |
t_client.sh: Allow to skip tests
Individual tests can define a script to run to test
whether they should be skipped.
Included in this commit is an example check which
checks whether we can do NTLM checks. This fails
e.g. on recent versions of Fedora with mbedTLS
(tested with Fedora 39) or when NTLM support is not
compiled in.
v2:
- ntlm_support:
- support OpenSSL 3
- allow to build without cmocka
v3:
- add example to t_client.rc-sample
- t_client.sh code style
- use syshead.h in error.h
v5:
- rename SKIP_x to CHECK_SKIP_x
Change-Id: I13ea6752c8d102eabcc579e391828c05d5322899
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20240308102818.9249-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/search?l=mid&q=20240308102818.9249-1-gert@greenie.muc.de
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/openvpn/error.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/openvpn/error.h b/src/openvpn/error.h index 1225b13..be3484d 100644 --- a/src/openvpn/error.h +++ b/src/openvpn/error.h @@ -25,16 +25,10 @@ #define ERROR_H #include "basic.h" - -#include <errno.h> -#include <stdbool.h> +#include "syshead.h" #include <assert.h> -#if _WIN32 -#include <windows.h> -#endif - /* #define ABORT_ON_ERROR */ #if defined(ENABLE_PKCS11) || defined(ENABLE_MANAGEMENT) |