From 2c14dbe458f77792e12b432423b4462da4f37d49 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 7 Sep 2014 09:07:19 -0400 Subject: [PATCH] crypto/tls: print unexpected error in test Maybe will help us understand Solaris build failure. TBR=aram CC=golang-codereviews https://golang.org/cl/139290043 --- src/pkg/crypto/tls/handshake_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/crypto/tls/handshake_client_test.go b/src/pkg/crypto/tls/handshake_client_test.go index 432308b0a8..e5eaa7de20 100644 --- a/src/pkg/crypto/tls/handshake_client_test.go +++ b/src/pkg/crypto/tls/handshake_client_test.go @@ -205,7 +205,7 @@ func (test *clientTest) run(t *testing.T, write bool) { if !write { flows, err := test.loadData() if err != nil { - t.Fatalf("%s: failed to load data from %s", test.name, test.dataPath()) + t.Fatalf("%s: failed to load data from %s: %v", test.name, test.dataPath(), err) } for i, b := range flows { if i%2 == 1 { -- 2.48.1