diff options
author | Luca Boccassi <bluca@debian.org> | 2024-07-04 02:01:08 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-04 09:07:22 +0200 |
commit | 92d9d5ca70b0a8b3aea12f24e9cd0f770c31a94c (patch) | |
tree | 72d4336444b2d247b62b8001850f234120220ab5 /test/units/TEST-69-SHUTDOWN.py | |
parent | zsh: add run0 completions (diff) | |
download | systemd-92d9d5ca70b0a8b3aea12f24e9cd0f770c31a94c.tar.xz systemd-92d9d5ca70b0a8b3aea12f24e9cd0f770c31a94c.zip |
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
Diffstat (limited to '')
-rwxr-xr-x | test/units/TEST-69-SHUTDOWN.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 = [] |