From: Russ Cox Date: Sun, 7 Sep 2014 13:07:19 +0000 (-0400) Subject: crypto/tls: print unexpected error in test X-Git-Tag: go1.4beta1~497 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2c14dbe458f77792e12b432423b4462da4f37d49;p=gostls13.git 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 --- 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 {