]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/test_admin_socket_output.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / test / test_admin_socket_output.cc
index 7e1b35d0aacc2b9b993eb16dfbf94358d3ae7b59..9ce244e6341f8ec1835cfda41c9e52c0f7850fe1 100644 (file)
@@ -58,7 +58,8 @@ int main(int argc, char** argv) {
     ("mgr", "Test mgr admin socket output")
     ("mds", "Test mds admin socket output")
     ("client", "Test client (includes rgw) admin socket output")
-    ("vstart", "Modify to run in vstart environment")
+    ("vstart", po::value<std::string>()->implicit_value("./out"),
+     "Modify to run in vstart environment")
     ;
   auto parsed =
     po::command_line_parser(argc, argv).options(desc).allow_unregistered().run();
@@ -80,7 +81,7 @@ int main(int argc, char** argv) {
   std::unique_ptr<AdminSocketOutput> asockout(new AdminSocketOutput);
 
   if (vm.count("vstart")) {
-    asockout->mod_for_vstart();
+    asockout->mod_for_vstart(vm["vstart"].as<std::string>());
   }
 
   if(vm.count("all")) {