2016-09-07 21:41:21 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-09-07 21:43:15 +02:00
|
|
|
timeout 120 ./uts-server -c tests/cfg/uts-server.cnf -D -p ./uts-server.pid &
|
2016-09-07 21:41:21 +02:00
|
|
|
|
2016-09-11 19:29:20 +02:00
|
|
|
sleep 1
|
2016-09-10 03:14:02 +02:00
|
|
|
./goodies/timestamp-file.sh -i README.rst -u http://localhost:2020 -r -O "-cert" || exit 1
|
|
|
|
./goodies/timestamp-file.sh -i README.rst -u http://localhost:2020 -r -O "-cert" || exit 1
|
|
|
|
./goodies/timestamp-file.sh -i README.rst -u http://localhost:2020 -r -O "-cert" || exit 1
|
2016-09-07 21:41:21 +02:00
|
|
|
|
2016-09-07 21:43:15 +02:00
|
|
|
kill `cat ./uts-server.pid`
|
|
|
|
|
2017-04-27 22:28:04 +02:00
|
|
|
if which timeout >/dev/null 2>&1
|
|
|
|
then
|
|
|
|
TO="timeout 120"
|
|
|
|
else
|
|
|
|
TO=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
$TO ./uts-server -c tests/cfg/uts-server-ssl.cnf -D -p ./uts-server.pid &
|
2016-09-11 23:59:52 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
./goodies/timestamp-file.sh -i README.rst -u https://localhost:2020 -r -O "-cert" -C '-k' || exit 1
|
|
|
|
|
|
|
|
kill `cat ./uts-server.pid`
|
|
|
|
|