5252
5353echo -e " \n\nTesting -sslCertInfo\n" >> x11vnc_test.log
5454
55- OPENSSL_CONF=' ' OPENSSL_MODULES=' ' timeout 1 x11vnc -sslCertInfo ca-dir/server-wolf.pem > cert_info_ossl.txt
56- timeout 1 x11vnc -sslCertInfo ca-dir/server-wolf.pem > cert_info.txt
55+ OPENSSL_CONF=' ' OPENSSL_MODULES=' ' timeout 5 x11vnc -sslCertInfo ca-dir/server-wolf.pem > cert_info_ossl.txt
56+ timeout 5 x11vnc -sslCertInfo ca-dir/server-wolf.pem > cert_info.txt
5757
5858if [ $? -eq 0 ] && diff -y cert_info.txt cert_info_ossl.txt >> x11vnc_test.log 2>> x11vnc_test.log \
5959 && cat cert_info.txt >> x11vnc_test.log
@@ -93,7 +93,7 @@ echo -e "\n\nTesting -ssl handshake, authentication, initialization...\n" >> x11
9393PORT=` x11vnc -ssl TMP -display :0 -localhost -bg -o server.log`
9494PORT=` echo " $PORT " | grep -m 1 " PORT=" | sed -e ' s/PORT=//' `
9595
96- timeout 10 vncviewer -GnuTLSPriority=LEGACY -DesktopSize=0 -display :0 -log * :stderr:100 localhost::$PORT 2> client.log
96+ timeout 15 vncviewer -GnuTLSPriority=LEGACY -DesktopSize=0 -display :0 -log * :stderr:100 localhost::$PORT 2> client.log
9797
9898if grep -Eq " SSL: handshake with helper process[[0-9]+] succeeded" server.log \
9999 && grep -q " CConnection: Authentication success" client.log \
@@ -116,7 +116,7 @@ x11vnc -storepasswd wolfprov passwd 2>> x11vnc_test.log
116116PORT=` x11vnc -ssl TMP -display :0 -localhost -bg -o server.log -rfbauth passwd`
117117PORT=` echo " $PORT " | grep -m 1 " PORT=" | sed -e ' s/PORT=//' `
118118
119- timeout 10 vncviewer -GnuTLSPriority=LEGACY -DesktopSize=0 -display :0 -passwd passwd -log * :stderr:100 localhost::$PORT 2> client.log
119+ timeout 15 vncviewer -GnuTLSPriority=LEGACY -DesktopSize=0 -display :0 -passwd passwd -log * :stderr:100 localhost::$PORT 2> client.log
120120
121121if grep -Eq " SSL: handshake with helper process[[0-9]+] succeeded" server.log \
122122 && grep -q " CConnection: Authentication success" client.log \
0 commit comments