diff options
author | Brent Cook <busterb@gmail.com> | 2014-11-20 08:46:02 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-12-03 17:02:29 -0600 |
commit | 96bf8be098b434ec19146d5724b60179ae56e00a (patch) | |
tree | d711ef8bff8a7e6f8633dee953cb7565959b3e54 /tests/ssltest.sh | |
parent | 58fcd3c39c73d83eb9782a8ef935498b18b5ae73 (diff) | |
download | portable-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-x | tests/ssltest.sh | 20 |
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 |
2 | set -e | 2 | set -e |
3 | PATH=../apps:$PATH | 3 | |
4 | export PATH | 4 | ssltest_bin=./ssltest |
5 | $srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem | 5 | if [ -e ./ssltest.exe ]; then |
6 | ssltest_bin=./ssltest.exe | ||
7 | fi | ||
8 | |||
9 | openssl_bin=../apps/openssl | ||
10 | if [ -e ../apps/openssl.exe ]; then | ||
11 | openssl_bin=../apps/openssl.exe | ||
12 | fi | ||
13 | |||
14 | if [ -z $srcdir ]; then | ||
15 | srcdir=. | ||
16 | fi | ||
17 | |||
18 | $srcdir/testssl $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem \ | ||
19 | $ssltest_bin $openssl_bin | ||