bottin/test_automatic/start_test.sh
2021-07-09 16:04:19 +02:00

11 lines
253 B
Bash
Executable file

#!/bin/sh
trap "exit" INT TERM ERR
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
./bottin > /dev/null 2>&1 &
sleep 1
./test_automatic/integration