mirror of
https://github.com/kakwa/uts-server
synced 2025-02-03 09:13:24 +01:00
fix test for OpenBSD
no timeout command on OpenBSD
This commit is contained in:
parent
582178b889
commit
94b8feba8e
@ -9,8 +9,14 @@ sleep 1
|
|||||||
|
|
||||||
kill `cat ./uts-server.pid`
|
kill `cat ./uts-server.pid`
|
||||||
|
|
||||||
|
if which timeout >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
TO="timeout 120"
|
||||||
|
else
|
||||||
|
TO=""
|
||||||
|
fi
|
||||||
|
|
||||||
timeout 120 ./uts-server -c tests/cfg/uts-server-ssl.cnf -D -p ./uts-server.pid &
|
$TO ./uts-server -c tests/cfg/uts-server-ssl.cnf -D -p ./uts-server.pid &
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
./goodies/timestamp-file.sh -i README.rst -u https://localhost:2020 -r -O "-cert" -C '-k' || exit 1
|
./goodies/timestamp-file.sh -i README.rst -u https://localhost:2020 -r -O "-cert" -C '-k' || exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user