aboutsummaryrefslogtreecommitdiff
path: root/test_automatic/start_test.sh
blob: e7a171239be66815dfdd54f01eff66a9ac0f789c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

#export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)
echo $BOTTIN_DEFAULT_ADMIN_PW
consul agent -dev > /dev/null 2>&1 &
sleep 2
cp test_automatic/config.json.test config.json
./bottin > /dev/null 2>&1 &
sleep 1
./test_automatic/integration
rm config.json
exit 0