diff options
author | Theo Buehler <tb@openbsd.org> | 2024-01-19 03:01:58 -0700 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-01-19 03:01:58 -0700 |
commit | 267dada70fae48beb1c1e264ea0c9bbdb52dd2e7 (patch) | |
tree | f930f33ae552829bd832ad7bf8dcc5aee1222132 /tests/shutdowntest.sh | |
parent | dcd04738c1c9eae80aa655ff38151a028a60f246 (diff) | |
download | portable-267dada70fae48beb1c1e264ea0c9bbdb52dd2e7.tar.gz portable-267dada70fae48beb1c1e264ea0c9bbdb52dd2e7.tar.bz2 portable-267dada70fae48beb1c1e264ea0c9bbdb52dd2e7.zip |
Add shutdowntest to build
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 | ||