tests/taskserver: fix gnutls invocation
test failed because gnutls-cli does not properly report connection errors any more, fixed by increasing the debug level for gnutls-cli Fixes: #84507 Closes: #90718
This commit is contained in:
parent
4b8e31f57c
commit
e4356601d3
@ -176,7 +176,8 @@ in {
|
|||||||
|
|
||||||
sub checkClientCert ($) {
|
sub checkClientCert ($) {
|
||||||
my $user = $_[0];
|
my $user = $_[0];
|
||||||
my $cmd = "gnutls-cli".
|
# debug level 3 is a workaround for gnutls issue https://gitlab.com/gnutls/gnutls/-/issues/1040
|
||||||
|
my $cmd = "gnutls-cli -d 3".
|
||||||
" --x509cafile=/home/$user/.task/keys/ca.cert".
|
" --x509cafile=/home/$user/.task/keys/ca.cert".
|
||||||
" --x509keyfile=/home/$user/.task/keys/private.key".
|
" --x509keyfile=/home/$user/.task/keys/private.key".
|
||||||
" --x509certfile=/home/$user/.task/keys/public.cert".
|
" --x509certfile=/home/$user/.task/keys/public.cert".
|
||||||
|
Loading…
Reference in New Issue
Block a user