aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/change.go
diff options
context:
space:
mode:
authorAlberto Cortés <alcortesm@gmail.com>2017-02-13 16:05:33 +0100
committerGitHub <noreply@github.com>2017-02-13 16:05:33 +0100
commita69e1cf378db9eb86fe384ced9a295b5eba7943e (patch)
tree316ede9fa9d61aa7e401f59c4df3d7e687f608c2 /utils/merkletrie/change.go
parentd08446c5ad1c3523f1ba05255e38b9eda395408e (diff)
downloadgo-git-a69e1cf378db9eb86fe384ced9a295b5eba7943e.tar.gz
transport/file: delete suite tmp dir at teardown (#266)
The transport/file common suite test generates a temporal directory; It is used to store the go-git client command and some links to it: git-upload-pack and git-receive-pack. This directory is not deleted at the test teardown, so every time we run a test, we pollute "/tmp". This patch adds a teardown function for the suite that deletes the temporal directory. It also calls the teardown of the embedded fixtures.Suite, which is probably what we want also. I have also simplify the call to ioutil.TempDir as it already uses the default tmp dir if no dir is provided.
Diffstat (limited to 'utils/merkletrie/change.go')
0 files changed, 0 insertions, 0 deletions