the link check, to also avoid libeatmydata. (Closes: #790546)
* boot-and-services, display-managers autopkgtests: Install and configure
dummy X.org driver, so that these work in headless machines/VMs.
+ * systemd-fsckd autopkgtest: Stop using/asserting on lightdm, just check
+ that default.target is active. lightdm is prone to fail in test
+ environments, and fiddling with it in two other autopkgtests is
+ sufficient.
-- Martin Pitt <mpitt@debian.org> Mon, 29 Jun 2015 07:42:50 +0200
Restrictions: needs-recommends, needs-root, isolation-container, allow-stderr
Tests: systemd-fsckd
-Depends: systemd, systemd-sysv, python3, lightdm, plymouth
+Depends: systemd-sysv, python3, plymouth
Restrictions: needs-root, isolation-machine, needs-recommends, breaks-testbed
self.assertFalse(self.was_running('plymouth-start'))
def assertSystemRunning(self):
- '''Assert we started lightdm and xorg (and so, consider the system running)'''
- out = subprocess.check_output(['ps', 'u', '-C', 'lightdm'])
- self.assertIn(b'lightdm --session', out)
- out = subprocess.check_output(['ps', 'u', '-C', 'Xorg'])
- self.assertIn(b':0', out)
- self.assertTrue(self.is_active_unit('lightdm'))
+ '''Assert that the system is running'''
+
+ self.assertTrue(self.is_active_unit('default.target'))
def assertProcessKilled(self):
'''Assert the targeted process was killed successfully'''