tests: better error message on ctlsock query failure
This commit is contained in:
parent
45648e567a
commit
1f29542b39
@ -66,7 +66,7 @@ func TestCtlSockDecrypt(t *testing.T) {
|
|||||||
}
|
}
|
||||||
response := test_helpers.QueryCtlSock(t, sock, req)
|
response := test_helpers.QueryCtlSock(t, sock, req)
|
||||||
if response.Result == "" || response.ErrNo != 0 {
|
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
|
// Check if the encrypted path actually exists
|
||||||
cPath := response.Result
|
cPath := response.Result
|
||||||
|
Loading…
Reference in New Issue
Block a user