aboutsummaryrefslogtreecommitdiff
path: root/openssl/test
diff options
context:
space:
mode:
authorAlex Crichton <[email protected]>2015-09-22 11:29:47 -0700
committerAlex Crichton <[email protected]>2015-09-22 17:37:21 -0700
commita91b6bf3bd216c13f0dafdbbf9ef33f15dd103bf (patch)
tree50ba9b6227951d0d7167a4f4134929a5c93a6a20 /openssl/test
parentMerge pull request #266 from jmesmon/alpn (diff)
downloadrust-openssl-a91b6bf3bd216c13f0dafdbbf9ef33f15dd103bf.tar.xz
rust-openssl-a91b6bf3bd216c13f0dafdbbf9ef33f15dd103bf.zip
Enable testing on Windows via AppVeyor
This abolishes the test.sh script which spawns a bunch of `openssl` instances to instead run/manage the binary in-process (providing more isolation to boot). The tests have been updated accordingly and the `connected_socket` dependency was also dropped in favor of `net2` as it the former doesn't work on Windows.
Diffstat (limited to 'openssl/test')
-rwxr-xr-xopenssl/test/test.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/openssl/test/test.sh b/openssl/test/test.sh
deleted file mode 100755
index 9beb37c3..00000000
--- a/openssl/test/test.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-cd $(dirname $0)
-
-openssl s_server -accept 15418 -www -cert cert.pem -key key.pem >/dev/null 2>&1 &
-openssl s_server -accept 15419 -www -cert cert.pem -key key.pem \
- -nextprotoneg "http/1.1,spdy/3.1" -alpn "http/1.1,spdy/3.1" >/dev/null 2>&1 &
-openssl s_server -no_ssl2 -accept 15420 -www -cert cert.pem -key key.pem >/dev/null 2>&1 &
-
-if test "$TRAVIS_OS_NAME" == "osx"; then
- return
-fi
-
-for port in `seq 15411 15430`; do
- echo hello | openssl s_server -accept $port -dtls1 -cert cert.pem \
- -key key.pem 2>&1 >/dev/null &
-done
-
-# the server for the test ssl::tests::test_write_dtlsv1 must wait to receive
-# data from the client
-yes | openssl s_server -accept 15410 -dtls1 -cert cert.pem -key key.pem 2>&1 >/dev/null &