From acd5dace66cea8e02ded03fafe168e627fefeb36 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 8 Jan 2026 22:19:45 +0100 Subject: [PATCH] tests: Print read bytes to debug failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub Jelen Reviewed-by: Pavol Žáčik Reviewed-by: Andreas Schneider --- tests/client/torture_auth_agent_forwarding.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/client/torture_auth_agent_forwarding.c b/tests/client/torture_auth_agent_forwarding.c index a8421cff..c779a302 100644 --- a/tests/client/torture_auth_agent_forwarding.c +++ b/tests/client/torture_auth_agent_forwarding.c @@ -205,6 +205,7 @@ static void torture_auth_agent_forwarding(void **state) if (nbytes > 0) { buffer[nbytes] = 0; + ssh_log_hexdump("Read bytes:", (unsigned char *)buffer, nbytes); /* Process the command output to check for three key conditions: * 1. If SSH_AUTH_SOCK is properly set (meaning agent forwarding