#2
--- a/debian/tests/boot-and-services
+++ b/debian/tests/boot-and-services
@@ -51,6 +51,8 @@ class ServicesTest(unittest.TestCase):
failed = [f for f in failed if 'thermald' not in f]
# console-setup.service fails on devices without keyboard (LP: #1516591)
failed = [f for f in failed if 'console-setup' not in f]
+ # gdm lets user 118 fail (LP: #1805358)
+ failed = [f for f in failed if 'user@118.service' not in f]
# cpi.service fails on s390x
failed = [f for f in failed if 'cpi.service' not in f]
if failed:
@xnox - would you have any preference between #1, #2 or neither of the above?
I wonder what you'd think about either:
#1 tests/boot- and-services tests/boot- and-services unittest. TestCase) :
self. assertEqual( failed, [])
--- a/debian/
+++ b/debian/
@@ -62,6 +62,7 @@ class ServicesTest(
@unittest. skipUnless( subprocess. call([' which', 'gdm3'], stdout= subprocess. DEVNULL) == 0, 'gdm3 not found') skipUnless( subprocess. call([' ps', 'u', '-C', 'gdm-x-session'], stdout= subprocess. DEVNULL) == 0, 'gdm-x-session failed to start') check_output( ['ps', 'u', '-C', 'gdm-x-session'])
self. assertIn( b'gdm-x- session gnome-session', out)
+ @unittest.
def test_gdm3(self):
out = subprocess.
or
#2 tests/boot- and-services tests/boot- and-services unittest. TestCase) : setup.service fails on devices without keyboard (LP: #1516591)
--- a/debian/
+++ b/debian/
@@ -51,6 +51,8 @@ class ServicesTest(
failed = [f for f in failed if 'thermald' not in f]
# console-
failed = [f for f in failed if 'console-setup' not in f]
+ # gdm lets user 118 fail (LP: #1805358)
+ failed = [f for f in failed if 'user@118.service' not in f]
# cpi.service fails on s390x
failed = [f for f in failed if 'cpi.service' not in f]
if failed:
@xnox - would you have any preference between #1, #2 or neither of the above?