bottin/test_automatic/start_test.sh
MrArmonius 2f09e10933
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
suppress kill in the script(provoked error 143)
2021-07-09 16:46:00 +02:00

12 lines
279 B
Bash
Executable file

#!/bin/sh
#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
exit 0