basho/basho_bench — pull request #43 by rzezeski (2012-07-29 18:48:21+00:00)
Title: Ability to put files and verify search query

This commit adds 3 pieces of functionality. Two of them are used by Riak Test's `loaded_upgrade` test.

1. Ability to put files. By adding `{file_dir, Dir}` the HTTP raw driver will PUT all files in `Dir` (non-recursive) and use the basename of the file as the key.

2. Ability to verify `numFound` during search.

3. Centralize normalization of host and port data used by both HTTP and PB drivers. This is potentially useful to other drivers but I didn't check.