* d/tests/connect: use /cert-tofu to avoid errors with proxies

This commit is contained in:
Adrien Nader 2024-12-18 13:00:39 +01:00 committed by Jeremy Bícha
parent dc059a2d39
commit b607683919

View File

@ -14,7 +14,7 @@ if test ! isNaturalNumber "$port"; then
exit 1
fi
timeout 2s xvfb-run -l xfreerdp /v:localhost:"$port" /p: /u: /d:
timeout 2s xvfb-run -l xfreerdp /v:localhost:"$port" /p: /u: /d: /cert-tofu
if test $? != 124; then
2>&1 printf "%s\n" "Xfreerdp exited before the timeout, it has likely " \
"failed to connect. The test has therefore failed."