mirror of
https://github.com/containers/skopeo.git
synced 2025-06-24 22:02:29 +00:00
Uncomment a “defer os.RemoveAll(tmpDir)”
We are running the integration tests in a container, so this does not _really_ matter, at least right now—mostly a matter of principle.
This commit is contained in:
parent
0734c4ccb3
commit
224b54c367
@ -394,7 +394,7 @@ func (s *CopySuite) TestCopyDockerSigstore(c *check.C) {
|
|||||||
|
|
||||||
tmpDir, err := ioutil.TempDir("", "signatures-sigstore")
|
tmpDir, err := ioutil.TempDir("", "signatures-sigstore")
|
||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
//defer os.RemoveAll(tmpDir)
|
defer os.RemoveAll(tmpDir)
|
||||||
copyDest := filepath.Join(tmpDir, "dest")
|
copyDest := filepath.Join(tmpDir, "dest")
|
||||||
err = os.Mkdir(copyDest, 0755)
|
err = os.Mkdir(copyDest, 0755)
|
||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
|
Loading…
Reference in New Issue
Block a user