bottin/test_automatic/start_test.sh

12 lines
254 B
Bash
Raw Normal View History

#!/bin/sh
trap "exit" INT TERM ERR
2021-07-09 13:23:21 +00:00
trap "kill 0" EXIT
#export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
2021-07-08 14:56:09 +00:00
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