basho/riak_test — pull request #78 by joedevivo (2012-10-17 15:03:58+00:00)
Title: Added a default section to riak_test.config; deprecated other config files.

In a move that will probably only affect @jtuple, I have deprecated the functionality for `-c` to take a config file name. `riak_test` is configured in `~/.riak_test.config` from here on out. Well, not quite from here on out. It still works for now, but with a large warning about how it will stop working soon.

The majority of this Pull Request deals with the `{default, []}.` section in riak_test. Riak_test will load all environment variables from the `default` section first. That means the following:

* If everything you need is in the `default` section, you don't need to pass `-c` to `riak_test` CLI
* If you're configuring something in more than one project (e.g. giddy up_* or timeout/retry stuff) move it into `default`.
* If you're using a specific configuration (i.e. not `default`) any config option you set in that config will override the ones in `default`

I've updated the readme to reflect this.