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:
Markus S. Wamser 2020-06-18 10:18:43 +02:00 committed by aszlig
parent 4b8e31f57c
commit e4356601d3
No known key found for this signature in database
GPG key ID: 684089CE67EBB691

View file

@ -176,7 +176,8 @@ in {
sub checkClientCert ($) {
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".
" --x509keyfile=/home/$user/.task/keys/private.key".
" --x509certfile=/home/$user/.task/keys/public.cert".