File: smoke-webadmin

package info (click to toggle)
courier 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,444 kB
  • sloc: ansic: 130,619; cpp: 33,255; sh: 10,437; perl: 4,250; makefile: 3,447; sed: 39
file content (21 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# autopkgtest check: smoke test of courier-webadmin.
# Author: Markus Wanner <markus@bluegap.ch>
# Author: Soren Stoutner <soren@debian.org>

set -eu

export LANG=C
unset LANGUAGE LC_ALL LC_CTYPE

# Cleanup after running tests
finish() {
    service courier-webadmin stop
    service courier-authdaemon stop
}
trap finish EXIT

service courier-authdaemon start && echo " ... authdaemon started"
service courier-webadmin start && echo " ... sqwebmail started"
service courier-webadmin status