Skip TLS tests if we don't have openssl

* test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
TLS tests if we don't have openssl and GnuTLS.
This commit is contained in:
Lars Ingebrigtsen 2016-02-08 18:28:00 +11:00
parent 857c5c24d6
commit c0abae57f6

View file

@ -163,6 +163,8 @@
"-www"))
(ert-deftest connect-to-tls ()
(skip-unless (executable-find "openssl"))
(skip-unless (gnutls-available-p))
(let ((server (make-tls-server))
(times 0)
proc status)