forked from Deuxfleurs/bottin
a98556d5c1
Tests wrote in golang without framework Testing on the Bottin's behavior Tests made: - crated random Users and Group - LDAP ADD - check the match between Consul's data and Test's data- LDAP Search - modify attributes and check them - LDAP Modify
12 lines
231 B
Bash
Executable file
12 lines
231 B
Bash
Executable file
#!/bin/bash
|
|
|
|
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
|