summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-04-15 16:09:30 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-04-15 16:09:30 +0000
commit01405280819ffdecb1b8fea07c4a08c2bc06fe3d (patch)
tree29039fab3987308e7442d68c1a5ba79c09725f62
parentd350fab25416ca3123d7c4e42c1b2a54713cf8bf (diff)
Now that tls_close() is more robust, consider a failure to be fatal.
-rw-r--r--regress/lib/libtls/gotls/tls_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libtls/gotls/tls_test.go b/regress/lib/libtls/gotls/tls_test.go
index f709fcb455d..2afcf932125 100644
--- a/regress/lib/libtls/gotls/tls_test.go
+++ b/regress/lib/libtls/gotls/tls_test.go
@@ -77,7 +77,7 @@ func TestTLSBasic(t *testing.T) {
}
defer func() {
if err := tls.Close(); err != nil {
- t.Logf("Close failed: %v", err)
+ t.Fatalf("Close failed: %v", err)
}
}()