From 9da6036958ef158ee85129de6f29604877223284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 6 Dec 2024 15:06:12 +0100 Subject: [PATCH] tests/sshd: also log what platform we received in the assert --- pkgs/clan-cli/tests/sshd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/tests/sshd.py b/pkgs/clan-cli/tests/sshd.py index 24f55840c..7bb2798a7 100644 --- a/pkgs/clan-cli/tests/sshd.py +++ b/pkgs/clan-cli/tests/sshd.py @@ -78,7 +78,7 @@ exec {bash} -l "${{@}}" lib_path = None assert ( 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)` lib_path = tmpdir / "libgetpwnam-preload.so"