]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: print unexpected error in test
authorRuss Cox <rsc@golang.org>
Sun, 7 Sep 2014 13:07:19 +0000 (09:07 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 7 Sep 2014 13:07:19 +0000 (09:07 -0400)
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

index 432308b0a8640a17ffc05607f3936d23bb45fcf7..e5eaa7de20830b91f48dc6a05fbf7108208c8c89 100644 (file)
@@ -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 {