diff options
author | Theo Buehler <tb@openbsd.org> | 2025-02-03 21:59:49 +0100 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2025-02-03 22:03:13 +0100 |
commit | 5bbae88080d65f9e81ef31c28e356f202d3cb03a (patch) | |
tree | cf1f907def158f637926f95cfe22572c2e139d41 /tests/renegotiation_test.sh | |
parent | 7e58cd8d51dbc517d562d11f256a8102fb04e748 (diff) | |
download | portable-5bbae88080d65f9e81ef31c28e356f202d3cb03a.tar.gz portable-5bbae88080d65f9e81ef31c28e356f202d3cb03a.tar.bz2 portable-5bbae88080d65f9e81ef31c28e356f202d3cb03a.zip |
Link renegotiation test to build
Diffstat (limited to '')
-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 | ||