featurebase/testhook
Seebs 1045268f01 use testhook to ensure temporary files and directories are cleaned up
In nearly all cases, we can just switch ioutil.TempDir->testhook.TempDir
and similarly for TempFile. There's one case where we can't because we
need files to be removed before tests are over.

Also in the process give identifiable names to a lot of temporary files
and make sure they're being cleaned up, and don't use "/tmp/foo" as a
file name in a test that could be running in more than one test process
at once. :)
2021-03-11 19:42:10 -06:00
..
auditor.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
auditor_test.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
cleanup1.13.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
cleanup1.14.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00
hook.go use testhook to ensure temporary files and directories are cleaned up 2021-03-11 19:42:10 -06:00
registry.go testhook: leak auditing infrastructure 2020-08-24 11:26:39 -05:00