mirror of https://github.com/hashicorp/consul
65b5c51ec7
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. |
||
---|---|---|
.. | ||
archive.go | ||
archive_test.go | ||
snapshot.go | ||
snapshot_test.go |