From e2e254480afc86651ffd4f1352d145585051583b Mon Sep 17 00:00:00 2001 From: kakwa Date: Wed, 7 Sep 2016 21:43:15 +0200 Subject: [PATCH] small improvement on test script --- tests/external_test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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` +