aboutsummaryrefslogtreecommitdiff
path: root/tests/ssltest.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2014-11-20 08:46:02 -0600
committerBrent Cook <bcook@openbsd.org>2014-12-03 17:02:29 -0600
commit96bf8be098b434ec19146d5724b60179ae56e00a (patch)
treed711ef8bff8a7e6f8633dee953cb7565959b3e54 /tests/ssltest.sh
parent58fcd3c39c73d83eb9782a8ef935498b18b5ae73 (diff)
downloadportable-96bf8be098b434ec19146d5724b60179ae56e00a.tar.gz
portable-96bf8be098b434ec19146d5724b60179ae56e00a.tar.bz2
portable-96bf8be098b434ec19146d5724b60179ae56e00a.zip
update and mask unit tests when running on win32
Update pq_test to ignore changes in whitespace. Update for new testssl params, specify absolute paths to test binaries. Fork-based tests do not make sense on Windows. Disable building biotest, since it is too specific to OpenBSD's behavior to be useful on other platforms.
Diffstat (limited to 'tests/ssltest.sh')
-rwxr-xr-xtests/ssltest.sh20
1 files changed, 17 insertions, 3 deletions
diff --git a/tests/ssltest.sh b/tests/ssltest.sh
index 476a258..1b4c9c7 100755
--- a/tests/ssltest.sh
+++ b/tests/ssltest.sh
@@ -1,5 +1,19 @@
1#!/bin/sh 1#!/bin/sh
2set -e 2set -e
3PATH=../apps:$PATH 3
4export PATH 4ssltest_bin=./ssltest
5$srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem 5if [ -e ./ssltest.exe ]; then
6 ssltest_bin=./ssltest.exe
7fi
8
9openssl_bin=../apps/openssl
10if [ -e ../apps/openssl.exe ]; then
11 openssl_bin=../apps/openssl.exe
12fi
13
14if [ -z $srcdir ]; then
15 srcdir=.
16fi
17
18$srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem \
19 $ssltest_bin $openssl_bin