open-consul/snapshot
Frank Schroeder eedf0f3ac5 test: add helper for ioutil.TempDir/TempFile
This creates a simplified helper for temporary directories and files.
All path names are prefixed with the name of the current test.
All files and directories are stored either in /tmp/consul-test
or /tmp if the former could not be created.

Using the system temp dir breaks some tests on macOS where the unix
socket path becomes too long.
2017-05-12 22:12:47 +02:00
..
archive.go golint: Drop the unused value from range 2017-04-25 09:26:13 -07:00
archive_test.go Adjusts location of archive test fixtures. 2016-11-03 21:42:50 -07:00
snapshot.go Moves the snapshot package up one level. (#2472) 2016-11-03 21:36:25 -07:00
snapshot_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00