mgmt: add UDP IPv4 and ethernet multicast face creation to face manager

refs: #1195

Change-Id: I693772d6a5c79873c5715718a6cacd80dc8c74e1
diff --git a/tests/mgmt/face-manager.cpp b/tests/mgmt/face-manager.cpp
index 9937632..e4e7954 100644
--- a/tests/mgmt/face-manager.cpp
+++ b/tests/mgmt/face-manager.cpp
@@ -323,6 +323,8 @@
   return error.what() == expectedMessage;
 }
 
+#ifdef HAVE_UNIX_SOCKETS
+
 BOOST_AUTO_TEST_CASE(TestProcessSectionUnix)
 {
   const std::string CONFIG =
@@ -383,6 +385,7 @@
                              "Unrecognized option \"hello\" in \"unix\" section"));
 }
 
+#endif // HAVE_UNIX_SOCKETS
 
 
 BOOST_AUTO_TEST_CASE(TestProcessSectionTcp)
@@ -573,8 +576,11 @@
                              "Unrecognized option \"hello\" in \"udp\" section"));
 }
 
+#ifdef HAVE_PCAP
+
 BOOST_AUTO_TEST_CASE(TestProcessSectionEther)
 {
+
   const std::string CONFIG =
     "face_system\n"
     "{\n"
@@ -651,6 +657,8 @@
                              "Unrecognized option \"hello\" in \"ether\" section"));
 }
 
+#endif
+
 BOOST_AUTO_TEST_CASE(TestFireInterestFilter)
 {
   shared_ptr<Interest> command(make_shared<Interest>("/localhost/nfd/faces"));
@@ -738,23 +746,6 @@
   }
 };
 
-// template <> class AuthorizedCommandFixture<FaceManagerFixture> :
-//     public CommandFixture<FaceManagerFixture>
-// {
-// public:
-//   AuthorizedCommandFixture()
-//   {
-//     const std::string regex = "^<localhost><nfd><faces>";
-//     FaceManagerFixture::ManagerBase::addInterestRule(regex, *CommandFixture<FaceManagerFixture>::m_certificate);
-//   }
-
-//   virtual
-//   ~AuthorizedCommandFixture()
-//   {
-
-//   }
-// };
-
 BOOST_FIXTURE_TEST_CASE(UnsupportedCommand, AuthorizedCommandFixture<FaceManagerFixture>)
 {
   ndn::nfd::FaceManagementOptions options;