aboutsummaryrefslogtreecommitdiff
path: root/tests/shutdowntest.sh
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-01-19 03:01:58 -0700
committerTheo Buehler <tb@openbsd.org>2024-01-19 03:01:58 -0700
commit267dada70fae48beb1c1e264ea0c9bbdb52dd2e7 (patch)
treef930f33ae552829bd832ad7bf8dcc5aee1222132 /tests/shutdowntest.sh
parentdcd04738c1c9eae80aa655ff38151a028a60f246 (diff)
downloadportable-267dada70fae48beb1c1e264ea0c9bbdb52dd2e7.tar.gz
portable-267dada70fae48beb1c1e264ea0c9bbdb52dd2e7.tar.bz2
portable-267dada70fae48beb1c1e264ea0c9bbdb52dd2e7.zip
Add shutdowntest to build
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