Tests: doveadm
Depends: dovecot-core
Restrictions: needs-root

Tests: systemd
Depends: dovecot-core, systemd-sysv

Test-Command: run-parts --report --exit-on-error debian/tests/usage
Depends: dovecot-imapd, dovecot-pop3d, dovecot-managesieved, sieve-connect, python3
Restrictions: needs-root, breaks-testbed, allow-stderr

Tests: testmails
Restrictions: needs-root, breaks-testbed
Depends: dovecot-imapd, dovecot-pop3d, lsb-release, python3, python3-passlib

# test postgres userdb/authdb
Test-Command: run-parts --report --exit-on-error debian/tests/postgres
Restrictions: needs-root, breaks-testbed, allow-stderr
Depends: dovecot-imapd, dovecot-pop3d, dovecot-pgsql, dovecot-managesieved, sieve-connect, python3, postgresql

Test-Command: run-parts --report --exit-on-error debian/tests/mariadb
Restrictions: needs-root, breaks-testbed, allow-stderr
Depends: dovecot-imapd, dovecot-pop3d, dovecot-mariadb, dovecot-managesieved, sieve-connect, python3, mariadb-server

Test-Command: run-parts --report --exit-on-error debian/tests/ldap
Restrictions: needs-root, breaks-testbed, allow-stderr
Depends: dovecot-ldap, dovecot-imapd, dovecot-pop3d, dovecot-managesieved, sieve-connect, slapd, ldap-utils, python3, whois

Test-Command: run-parts --report --exit-on-error debian/tests/gssapi
Restrictions: needs-root, breaks-testbed, allow-stderr
Depends: dovecot-gssapi, dovecot-imapd, dovecot-pop3d, dovecot-managesieved,
 sieve-connect, gsasl, python3, krb5-admin-server, python3-gssapi, iproute2
