2021-07-16 14:56:56 +00:00
|
|
|
#!/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
|
2021-09-16 11:52:46 +00:00
|
|
|
./bottin > /tmp/bottin.log 2>&1 &
|
2021-07-16 14:56:56 +00:00
|
|
|
sleep 1
|
|
|
|
./test/test -test.v -test.failfast -test.short -test.run TestPrincipal
|
|
|
|
./test/test -test.v -test.failfast -test.run TestPrincipal/B=
|
2021-09-16 11:52:46 +00:00
|
|
|
|
|
|
|
jobs
|
|
|
|
kill %2
|
|
|
|
kill %1
|