aboutsummaryrefslogtreecommitdiff
path: root/tests/shutdowntest.sh
blob: d3ae472da62736798487f7522fa5fc6fae31d217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

shutdowntest_bin=./shutdowntest
if [ -e ./shutdowntest.exe ]; then
	shutdowntest_bin=./shutdowntest.exe
elif [ -e ./shutdowntest.js ]; then
	shutdowntest_bin="node ./shutdowntest.js"
fi

if [ -z $srcdir ]; then
	srcdir=.
fi

$shutdowntest_bin $srcdir/server1-rsa.pem $srcdir/server1-rsa-chain.pem $srcdir/ca-root-rsa.pem