aboutsummaryrefslogtreecommitdiff
path: root/tests/shutdowntest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shutdowntest.sh')
-rwxr-xr-xtests/shutdowntest.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/shutdowntest.sh b/tests/shutdowntest.sh
new file mode 100755
index 0000000..22e2b1d
--- /dev/null
+++ b/tests/shutdowntest.sh
@@ -0,0 +1,13 @@
1#!/bin/sh
2set -e
3
4shutdowntest_bin=./shutdowntest
5if [ -e ./shutdowntest.exe ]; then
6 shutdowntest_bin=./shutdowntest.exe
7fi
8
9if [ -z $srcdir ]; then
10 srcdir=.
11fi
12
13$shutdowntest_bin $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem