tests/sshd: also log what platform we received in the assert

This commit is contained in:
Jörg Thalheim
2024-12-06 15:06:12 +01:00
committed by Mic92
parent d16947f288
commit 9da6036958

View File

@@ -78,7 +78,7 @@ exec {bash} -l "${{@}}"
lib_path = None lib_path = None
assert ( assert (
platform == "linux" platform == "linux"
), "we do not support the ld_preload trick on non-linux just now" ), f"we do not support the ld_preload trick on non-linux just now. Got {platform}"
# This enforces a login shell by overriding the login shell of `getpwnam(3)` # This enforces a login shell by overriding the login shell of `getpwnam(3)`
lib_path = tmpdir / "libgetpwnam-preload.so" lib_path = tmpdir / "libgetpwnam-preload.so"