services/mgmt/device: Share startup code with unittest.

This commit establishes a function to start deviced's services
(mounttable server, device service on another server mounted on the
mounttable etc.) and uses the function in both the deviced binary and
the implementation unittests.

Change-Id: I319a1c4d1b41eaab36a98c7189dc739585f5a48d
3 files changed
tree: 01c8933317d5a62b61f1845930705d3dc7351836
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/