commit | f5aee94f1544cf10d9aa7411e680d2d63b1f5d54 | [log] [tgz] |
---|---|---|
author | Weiwei Liu <summerwing10@gmail.com> | Sat Mar 19 07:00:42 2016 +0000 |
committer | Weiwei Liu <summerwing10@gmail.com> | Tue May 31 11:44:00 2016 -0700 |
tree | 5c47cd902d2dfcba90ebb73a0ca8ef867da864dd | |
parent | 28797798044d0b80c8b883a821645632db9552e5 [diff] [blame] |
tests: fix running with non-root user Refs: #3418 Change-Id: If7f5c05baaff0cf748c87c77057517928539df0d
diff --git a/tests/daemon/mgmt/face-manager-process-config.t.cpp b/tests/daemon/mgmt/face-manager-process-config.t.cpp index 0b1a156..6296fc8 100644 --- a/tests/daemon/mgmt/face-manager-process-config.t.cpp +++ b/tests/daemon/mgmt/face-manager-process-config.t.cpp
@@ -157,6 +157,8 @@ BOOST_AUTO_TEST_CASE(ProcessSectionUdp) { + SKIP_IF_NOT_SUPERUSER(); + const std::string CONFIG = "face_system\n" "{\n" @@ -294,6 +296,8 @@ BOOST_AUTO_TEST_CASE(ProcessSectionUdpMulticastReinit) { + SKIP_IF_NOT_SUPERUSER(); + const std::string CONFIG_WITH_MCAST = "face_system\n" "{\n"