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:
Miloslav Trmač 2017-03-28 16:40:28 +02:00
parent 0734c4ccb3
commit 224b54c367

View File

@ -394,7 +394,7 @@ func (s *CopySuite) TestCopyDockerSigstore(c *check.C) {
tmpDir, err := ioutil.TempDir("", "signatures-sigstore")
c.Assert(err, check.IsNil)
//defer os.RemoveAll(tmpDir)
defer os.RemoveAll(tmpDir)
copyDest := filepath.Join(tmpDir, "dest")
err = os.Mkdir(copyDest, 0755)
c.Assert(err, check.IsNil)