aboutsummaryrefslogtreecommitdiff
path: root/tests/defaults/ctlsock_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/defaults/ctlsock_test.go')
-rw-r--r--tests/defaults/ctlsock_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/defaults/ctlsock_test.go b/tests/defaults/ctlsock_test.go
index 13e6912..b987bf6 100644
--- a/tests/defaults/ctlsock_test.go
+++ b/tests/defaults/ctlsock_test.go
@@ -25,7 +25,7 @@ func TestCtlSock(t *testing.T) {
req.EncryptPath = "not-existing-dir/xyz"
response = test_helpers.QueryCtlSock(t, sock, req)
if response.ErrNo != int32(syscall.ENOENT) || response.Result != "" {
- t.Errorf("incorrect error handling: %+v", response)
+ t.Errorf("incorrect error handling: wanted ErrNo=%d, have %+v", syscall.ENOENT, response)
}
// Strange paths should not cause a crash
crashers := []string{"/foo", "foo/", "/foo/", ".", "/////", "/../../."}