Skip tests when it will fail due to hostnamctl not working in some containers

This commit is contained in:
Daniel A. Wozniak 2025-01-23 15:16:34 -07:00 committed by Daniel Wozniak
parent b02788ed00
commit deda5dc15e

View file

@ -30,6 +30,7 @@ def check_hostnamectl():
b"Failed to connect to bus: No such file or directory" in proc.stderr
or b"Failed to create bus connection: No such file or directory"
in proc.stderr
or b"Failed to query system properties" in proc.stderr
)
return check_hostnamectl.memo