From c593366aabd7d807374b2fb6cb4749ac030d9475 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 21 Sep 2016 21:17:22 +1000 Subject: [PATCH] Create missing intermediate directories in test --- client_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client_test.go b/client_test.go index c276ae64..955d7a66 100644 --- a/client_test.go +++ b/client_test.go @@ -1026,6 +1026,7 @@ func TestSetMaxEstablishedConn(t *testing.T) { } func makeMagnet(t *testing.T, cl *Client, dir string, name string) string { + os.MkdirAll(dir, 0770) file, err := os.Create(filepath.Join(dir, name)) require.NoError(t, err) file.Write([]byte(name))