bottin/test_automatic/start_test.sh
MrArmonius eb7f00c526
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
Add config.json.test to use in Go test
2021-07-09 16:32:02 +02:00

13 lines
295 B
Bash
Executable file

#!/bin/sh
trap "kill 0" EXIT
#export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
echo $BOTTIN_DEFAULT_ADMIN_PW
consul agent -dev > /dev/null 2>&1 &
sleep 2
cp test_automatic/config.json.test config.json
./bottin #> /dev/null 2>&1 &
#sleep 1
#./test_automatic/integration
rm config.json