diff options
Diffstat (limited to 'test/runner.sh')
-rwxr-xr-x | test/runner.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/runner.sh b/test/runner.sh new file mode 100755 index 0000000..04e42be --- /dev/null +++ b/test/runner.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -ex + +echo $BOTTIN_DEFAULT_ADMIN_PW +consul agent -dev > /dev/null 2>&1 & +sleep 2 +cp test/config.json.test config.json +./bottin > /tmp/bottin.log 2>&1 & +sleep 1 +./test/test -test.v -test.failfast -test.short -test.run TestPrincipal +./test/test -test.v -test.failfast -test.run TestPrincipal/B= + +jobs +kill %2 +kill %1 |