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
..
2017-04-25 09:26:13 -07:00
2017-05-11 00:34:14 +02:00
2017-05-11 00:34:14 +02:00
2013-12-20 16:39:32 -08:00
2017-05-10 23:06:36 +02:00
2017-04-20 09:54:49 -07:00
2013-12-23 16:20:51 -08:00
2017-04-20 09:54:49 -07:00
2017-04-20 09:54:49 -07:00