File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1190,12 +1190,14 @@ func (s *SkopeoSuite) TestCopySrcAndDestWithAuth(c *check.C) {
11901190}
11911191
11921192func (s * CopySuite ) TestCopyNoPanicOnHTTPResponseWithoutTLSVerifyFalse (c * check.C ) {
1193+ topDir , err := ioutil .TempDir ("" , "no-panic-on-https-response-without-tls-verify-false" )
1194+ c .Assert (err , check .IsNil )
1195+ defer os .RemoveAll (topDir )
1196+
11931197 const ourRegistry = "docker://" + v2DockerRegistryURL + "/"
11941198
1195- // dir:test isn't created beforehand just because we already know this could
1196- // just fail when evaluating the src
11971199 assertSkopeoFails (c , ".*server gave HTTP response to HTTPS client.*" ,
1198- "copy" , ourRegistry + "foobar" , "dir:test" )
1200+ "copy" , ourRegistry + "foobar" , "dir:" + topDir )
11991201}
12001202
12011203func (s * CopySuite ) TestCopySchemaConversion (c * check.C ) {
You can’t perform that action at this time.
0 commit comments