bottin/test_automatic/start_test.sh

12 lines
231 B
Bash
Raw Normal View History

2021-07-08 14:56:09 +00:00
#!/bin/bash
2021-07-09 13:23:21 +00:00
trap "kill 0" EXIT
2021-07-08 14:56:09 +00:00
export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
echo $BOTTIN_DEFAULT_ADMIN_PW
2021-07-09 13:23:21 +00:00
consul agent -dev > /dev/null 2>&1 &
sleep 2
2021-07-08 14:56:09 +00:00
./bottin > /dev/null 2>&1 &
2021-07-09 13:23:21 +00:00
sleep 1
./test_automatic/integration