consul/snapshot
Frank Schroeder 65b5c51ec7 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
snapshot.go
snapshot_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00