aboutsummaryrefslogtreecommitdiff
path: root/tests/renegotiation_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/renegotiation_test.sh')
-rwxr-xr-xtests/renegotiation_test.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/renegotiation_test.sh b/tests/renegotiation_test.sh
new file mode 100755
index 0000000..bbf27c8
--- /dev/null
+++ b/tests/renegotiation_test.sh
@@ -0,0 +1,15 @@
1#!/bin/sh
2set -e
3
4renegotiation_test_bin=./renegotiation_test
5if [ -e ./renegotiation_test.exe ]; then
6 renegotiation_test_bin=./renegotiation_test.exe
7elif [ -e ./renegotiation_test.js ]; then
8 renegotiation_test_bin="node ./renegotiation_test.js"
9fi
10
11if [ -z $srcdir ]; then
12 srcdir=.
13fi
14
15$renegotiation_test_bin $srcdir/server1-rsa.pem $srcdir/server1-rsa-chain.pem $srcdir/ca-root-rsa.pem