summaryrefslogtreecommitdiffstats
path: root/src/test/crush/CrushWrapper.cc
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2015-06-05 21:12:32 +0200
committerSage Weil <sage@redhat.com>2015-06-05 21:12:32 +0200
commit14c60b288b33e4cec9c9819d4668a5ff9855ccc1 (patch)
treec583a00b51db7592252c2e23e76bf52d5a5cc530 /src/test/crush/CrushWrapper.cc
parentMerge pull request #4717 from athanatos/wip-8635 (diff)
downloadceph-14c60b288b33e4cec9c9819d4668a5ff9855ccc1.tar.xz
ceph-14c60b288b33e4cec9c9819d4668a5ff9855ccc1.zip
unittest_crush_wrapper: parse env
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/test/crush/CrushWrapper.cc')
-rw-r--r--src/test/crush/CrushWrapper.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/crush/CrushWrapper.cc b/src/test/crush/CrushWrapper.cc
index c690ada4f16..8b80f88052c 100644
--- a/src/test/crush/CrushWrapper.cc
+++ b/src/test/crush/CrushWrapper.cc
@@ -798,6 +798,7 @@ TEST(CrushWrapper, distance) {
int main(int argc, char **argv) {
vector<const char*> args;
argv_to_vec(argc, (const char **)argv, args);
+ env_to_vec(args);
vector<const char*> def_args;
def_args.push_back("--debug-crush=0");