bottin/test_automatic/start_test.sh

13 lines
279 B
Bash
Raw Normal View History

#!/bin/sh
2021-07-09 16:27:15 +02:00
#export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
2021-07-08 16:56:09 +02:00
echo $BOTTIN_DEFAULT_ADMIN_PW
2021-07-09 15:23:21 +02:00
consul agent -dev > /dev/null 2>&1 &
sleep 2
2021-07-09 16:32:02 +02:00
cp test_automatic/config.json.test config.json
2021-07-09 16:34:27 +02:00
./bottin > /dev/null 2>&1 &
sleep 1
./test_automatic/integration
2021-07-09 16:32:02 +02:00
rm config.json
2021-07-09 16:43:43 +02:00
exit 0