mirror of
https://github.com/containers/skopeo.git
synced 2025-10-22 19:50:00 +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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user