Commit Graph

8 Commits

Author SHA1 Message Date
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
Frank Schroeder 8c7bb7b65a golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
Kyle Havlovitz 7d72864531
Convert members command to use base.Command 2017-02-09 17:12:47 -05:00
Adam Renberg 450f66fd3c Include DC in the members command output 2015-05-15 23:26:34 +02:00
Armon Dadgar af24734cc2 command/members: Remove tests for old role filter 2014-06-08 14:02:24 -07:00
William Tisäter 4171b3d484 Return exit code 2 if member filter doesn't match any node 2014-05-04 11:54:45 +02:00
Armon Dadgar 969d2a6c20 command: Fixing more tests 2014-04-11 16:34:29 -07:00
Armon Dadgar 5d3a3e41fe Adding the various CLI commands 2013-12-31 13:06:33 -08:00