From 1f29542b39654bda417ed436b8640b2f2e4f0d6e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sat, 26 Jun 2021 18:43:15 +0200 Subject: tests: better error message on ctlsock query failure --- tests/defaults/ctlsock_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/defaults') diff --git a/tests/defaults/ctlsock_test.go b/tests/defaults/ctlsock_test.go index 64b72a2..ac64f42 100644 --- a/tests/defaults/ctlsock_test.go +++ b/tests/defaults/ctlsock_test.go @@ -66,7 +66,7 @@ func TestCtlSockDecrypt(t *testing.T) { } response := test_helpers.QueryCtlSock(t, sock, req) if response.Result == "" || response.ErrNo != 0 { - t.Fatalf("got an error reply: %+v", response) + t.Fatalf("got an error for query %+v: %+v", req, response) } // Check if the encrypted path actually exists cPath := response.Result -- cgit v1.2.3