1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-13 17:18:18 +03:00

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 92d9d5ca70)
This commit is contained in:
Luca Boccassi 2024-07-04 01:01:08 +01:00 committed by Luca Boccassi
parent 69c51768ef
commit 771bb489bf

View File

@ -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 = []