From: Luca Boccassi Date: Thu, 4 Jul 2024 00:01:08 +0000 (+0100) Subject: test: skip TEST-69-SHUTDOWN on Debian X-Git-Tag: v257-rc1~973 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d9d5ca70b0a8b3aea12f24e9cd0f770c31a94c;p=thirdparty%2Fsystemd.git test: skip TEST-69-SHUTDOWN on Debian There is a regression in the login package, skip the test until it is fixed. https://bugs.debian.org/1075733 --- diff --git a/test/units/TEST-69-SHUTDOWN.py b/test/units/TEST-69-SHUTDOWN.py index eb790f45da7..d0441641352 100755 --- a/test/units/TEST-69-SHUTDOWN.py +++ b/test/units/TEST-69-SHUTDOWN.py @@ -9,6 +9,13 @@ import pexpect def main(): + # TODO: drop once https://bugs.debian.org/1075733 is fixed + with open("/usr/lib/os-release") as f: + for line in f: + if line.startswith("ID="): + if "debian" in line: + sys.exit(77) + logger = logging.getLogger("test-shutdown") consoles = []