1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-05 01:08:51 +01:00
uts-server/tests/external_test.sh
2016-09-07 21:43:15 +02:00

11 lines
390 B
Bash
Executable File

#!/bin/sh
timeout 120 ./uts-server -c tests/cfg/uts-server.cnf -D -p ./uts-server.pid &
./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert" || exit 1
./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert" || exit 1
./goodies/timestamp-file.sh -i README.md -u http://localhost:2020 -r -O "-cert" || exit 1
kill `cat ./uts-server.pid`