Commit Graph

22 Commits

Author SHA1 Message Date
Martin Pitt
37aaa7fd86 boot-and-services autopkgtest: Add CgroupsTest to check cgroup creation/cleanup behaviour
This reproduces #777601 and verifies the fix for it.
2015-02-13 10:53:14 +01:00
Martin Pitt
d227128f77 Add unit-config autopkgtest
This checks systemd unit/sysv init enabling and disabling via systemctl. This
also reproduces #777613.
2015-02-11 10:00:59 +01:00
Martin Pitt
a3d4a06ef7 Fix debian/tests/logind test under sysvinit/upstart
With dropped systemd-logind-launch we don't have a visible
/sys/fs/cgroup/systemd/ any more under cgmanager. So adjust the test to check
/proc/self/cgroup instead.
2015-02-10 10:29:55 +01:00
Martin Pitt
e2ff9742d3 boot-and-services autopkgtest: Ensure that there are no failed units
Ignore a failed systemd-modules-load.service, as that notoriously fails with
cruft in /etc/modules.
2015-02-01 22:43:40 +01:00
Martin Pitt
f5f8f321cd Add autopkgtest for one-time boot with upstart when systemd-sysv is installed
This test only works under Ubuntu which has a split out upstart-bin package,
and will be skipped under Debian.
2015-01-13 11:16:52 +01:00
Martin Pitt
9f72005978 build-login autopkgtest: Build against libsystemd, not libsystemd-login any more 2014-12-17 09:51:33 +01:00
Martin Pitt
0d5a26bdc2 build-logind autopkgtest: Re-enforce that sd_login_monitor_new() succeeds
Restrict this test to isolation-container, as this will likely fail in schroots.

Reproduces LP #1400203
2014-12-17 09:23:25 +01:00
Martin Pitt
bcdf8f9e46 boot-and-services: Robustify Nspawn tests, and show systemd-nspawn output on failure 2014-12-16 08:01:16 +01:00
Martin Pitt
344ae794e5 boot-and-services AppArmor autopkgtest: Stop checking the dmesg log
It is racy as sometimes message bursts are suppressed.
2014-12-15 10:55:02 +01:00
Didier Roche
e20b1a1838 Reset display-manager symlink to match /e/X/d-d-m
Do it even if display-manager.service was removed and adapt
the autopkgtests for this.

LP: #1400680
2014-12-10 10:49:10 +02:00
Didier Roche
e3fe7c22e9 Add display managers autopkg tests 2014-12-10 09:21:40 +02:00
Martin Pitt
20bd9ec265 boot-and-services autopkgtest: Give test apparmor job some time to actually finish 2014-12-01 17:04:32 +01:00
Martin Pitt
99fa4f227e boot-and-services autopkgtest: Test AppArmor confined units
Test case for LP #1396270
2014-11-28 10:52:32 +01:00
Martin Pitt
160d4953b2 Make systemd-nspawn@.service work out of the box
- Pre-create /var/lib/container with a secure mode (0700) via tmpfiles.d.
 - Add new try-{guest,host} modes for --link-journal to silently skip
   setting up the guest journal if the host has no persistant journal.
 - Extend boot-and-services autopkgtest to cover systemd-nspawn@.service.

Patch cherry-picked from upstream git.

Closes: #770275
2014-11-25 12:02:21 +01:00
Martin Pitt
91b71fcbba Add nspawn test to boot-and-services autopkgtest 2014-11-20 09:37:59 +01:00
Martin Pitt
457f782ee1 logind autopkgtest: Fix stderr output in waiting loop for scsi_debug 2014-11-19 14:29:36 +01:00
Martin Pitt
af3428ce4d Add boot-and-services autopkgtest
Check booting with systemd-sysv and that the most crucial services behave as
expected.
2014-11-19 13:28:06 +01:00
Martin Pitt
1faef90590 Adjust debian/tests/timedated to current upstream version
"Timezone" got renamed to "Time zone".
2014-10-26 19:46:27 -04:00
Martin Pitt
f298e7495f Adjust debian/tests/hostnamed to current upstream version
Architecture: was removed, check Kernel: instead.
2014-10-26 19:43:59 -04:00
Martin Pitt
eb5ba93831 Add simple autopkgtest for python3-systemd 2014-08-04 08:44:49 +02:00
Martin Pitt
3f3b71a903 Clean up libsystemd-login-dev autopkgtest
Rename "api" autopkgtest to "build-login", and stop requiring that
sd_login_monitor_new() succeeds. It doesn't in many environments like schroot
or after upgrades from < 204, and the main point of the test is to check that
libsystemd-login-dev has correct contents and dependencies. Drop
"isolation-machine" requirement.
2014-07-21 15:29:56 +02:00
Martin Pitt
3e589263a1 Add autopkgtests
This covers smoke-testing logind, hostnamed, timedated, localed, and a
compile/link/run test against libsystemd-login-dev.
2014-04-26 20:53:53 +02:00