bottin/test_automatic/start_test.sh

13 lines
279 B
Bash
Raw Normal View History

#!/bin/sh
2021-07-09 14:27:15 +00:00
#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-09 14:32:02 +00:00
cp test_automatic/config.json.test config.json
2021-07-09 14:34:27 +00:00
./bottin > /dev/null 2>&1 &
sleep 1
./test_automatic/integration
2021-07-09 14:32:02 +00:00
rm config.json
2021-07-09 14:43:43 +00:00
exit 0