small improvement on test script

This commit is contained in:
kakwa 2016-09-07 21:43:15 +02:00
parent 873dc61860
commit 2f4647b801
1 changed files with 3 additions and 1 deletions

View File

@ -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`