tests/sshd: also log what platform we received in the assert
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user