summaryrefslogtreecommitdiffstats
path: root/debian/tests/install
blob: b9888d7a50da429660582aca14e0fe6e96360087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -eu

# refs: #914477
sleep 15

echo "+ systemctl status rspamd"
systemctl status rspamd
echo "+ systemctl is-enabled rspamd"
systemctl is-enabled rspamd
echo "+ systemctl is-active rspamd"
systemctl is-active rspamd

# refs: #914477
sleep 5

# TODO: more complicated tests ?
echo "+ curl --stderr - --no-progress-meter --retry 3 --retry-connrefused --retry-delay 2 http://127.0.0.1:11334"
curl --stderr - --no-progress-meter --retry 3 --retry-connrefused --retry-delay 2 http://127.0.0.1:11334