mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 05:59:17 +03:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue