diff options
Diffstat (limited to 'tests/renegotiation_test.sh')
-rwxr-xr-x | tests/renegotiation_test.sh | 15 |
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 | ||
2 | set -e | ||
3 | |||
4 | renegotiation_test_bin=./renegotiation_test | ||
5 | if [ -e ./renegotiation_test.exe ]; then | ||
6 | renegotiation_test_bin=./renegotiation_test.exe | ||
7 | elif [ -e ./renegotiation_test.js ]; then | ||
8 | renegotiation_test_bin="node ./renegotiation_test.js" | ||
9 | fi | ||
10 | |||
11 | if [ -z $srcdir ]; then | ||
12 | srcdir=. | ||
13 | fi | ||
14 | |||
15 | $renegotiation_test_bin $srcdir/server1-rsa.pem $srcdir/server1-rsa-chain.pem $srcdir/ca-root-rsa.pem | ||