diff --git a/tests/external_test.sh b/tests/external_test.sh index 089d74f..f366cdc 100755 --- a/tests/external_test.sh +++ b/tests/external_test.sh @@ -1,8 +1,10 @@ #!/bin/sh -timeout 20 ./uts-server -c tests/cfg/uts-server.cnf -D & +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` +