diff options
Diffstat (limited to '')
-rwxr-xr-x | debian/tests/install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/tests/install b/debian/tests/install new file mode 100755 index 0000000..b9888d7 --- /dev/null +++ b/debian/tests/install @@ -0,0 +1,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 |