1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
# Tests for master components:
# * collect graphs
# * generate html and png files
#
# Dependencies:
# * apache2: handle HTTP requests
# * cron (only sysV init): manually enforce a dependency conflict when switching to sysvinit-core
# * curl: HTTP requests for munin-httpd
# * daemontools: for "setuidgid"
# * file: determine mime type of HTTP responses
# * libcgi-fast-perl: required for delivery via apache2
# * munin-node: provide data to be retrieved by the munin master
# * munin-plugins-core: required for requesting plugin graphs via munin-httpd
# * netcat-openbsd: test local tcp connection
# * psmisc: "killall" for cleanup before master tests
# * sharness: test framework
#
# Additional specified "restrictions" for SysV init tests:
# * allow-stderr: apache2 emits the warning message
# "Could not reliably determine the server's fully qualified domain name". It is harmless.
# The message is only emitted with SysV init. With systemd a slightly different name resolution
# seems to be in effect. Thus we can ignore this output on stderr.
# * skip-not-installable: some distributions (e.g. Ubuntu) do not ship sysvinit-core. They
# should be allowed to skip these tests.
# systemd
Tests: master-cron-systemd, master-cgi-systemd
Depends: apache2,
curl,
daemontools,
file,
libcgi-fast-perl,
munin,
munin-node,
psmisc,
sharness,
systemd-sysv
Restrictions: needs-root, breaks-testbed, isolation-container
# sysvinit-core
Tests: master-cron-sysv, master-cgi-sysv
Depends: apache2,
cron,
curl,
daemontools,
file,
libcgi-fast-perl,
munin,
munin-node,
psmisc,
sharness,
sysvinit-core
Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, allow-stderr, skip-not-installable
# Tests for munin-node:
# * run the node
# * access plugins
#
# Dependencies:
# * netcat-openbsd: test local tcp connection
# * sharness: test framework
# systemd
Tests: node-systemd
Depends: munin-node, netcat-openbsd, sharness, systemd-sysv
Restrictions: needs-root, breaks-testbed, isolation-container
# sysvinit-core
Tests: node-sysv
Depends: cron, munin-node, netcat-openbsd, sharness, sysvinit-core
Restrictions: needs-root, breaks-testbed, isolation-container, needs-reboot, allow-stderr, skip-not-installable
# verify that all binary packages can be installed at the same time (without conflicts)
Test-Command: true
Depends: @
Restrictions: breaks-testbed
|