diff options
Diffstat (limited to 'tests/shutdowntest.sh')
-rwxr-xr-x | tests/shutdowntest.sh | 13 |
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 | ||
2 | set -e | ||
3 | |||
4 | shutdowntest_bin=./shutdowntest | ||
5 | if [ -e ./shutdowntest.exe ]; then | ||
6 | shutdowntest_bin=./shutdowntest.exe | ||
7 | fi | ||
8 | |||
9 | if [ -z $srcdir ]; then | ||
10 | srcdir=. | ||
11 | fi | ||
12 | |||
13 | $shutdowntest_bin $srcdir/server.pem $srcdir/server.pem $srcdir/ca.pem | ||