From 771bb489bfa34ba36965bb21ddf0b7b915694c97 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 4 Jul 2024 01:01:08 +0100 Subject: [PATCH] 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 (cherry picked from commit 92d9d5ca70b0a8b3aea12f24e9cd0f770c31a94c) --- test/units/TEST-69-SHUTDOWN.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/units/TEST-69-SHUTDOWN.py b/test/units/TEST-69-SHUTDOWN.py index eb790f45da..d044164135 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 = [] -- 2.25.1