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
This commit is contained in:
Russ Cox 2014-09-07 09:07:19 -04:00
parent b88cd69926
commit 14e9aa8cf5

View File

@ -205,7 +205,7 @@ func (test *clientTest) run(t *testing.T, write bool) {
if !write { if !write {
flows, err := test.loadData() flows, err := test.loadData()
if err != nil { 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 { for i, b := range flows {
if i%2 == 1 { if i%2 == 1 {