Codebase list python-faraday / 0339dfa
Add autopkgtest Sophie Brun 3 years ago
2 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Test-Command: debian/tests/runtests.sh
1 Restrictions: needs-root, isolation-container, superficial, allow-stderr
0 #!/bin/sh
1
2 set -e
3
4 echo "Start postgresql service to init database"
5 systemctl start postgresql
6
7 echo "Init database"
8 sudo faraday-manage initdb
9 sleep 10
10
11 echo "Start faraday service"
12 sudo systemctl start faraday
13
14 echo "Check if faraday service is active"
15 if ! systemctl is-active -q faraday; then
16 echo "the service faraday is not active"
17 exit 1
18 fi