Unit Tests: added BOOST_CHECK(true) to tests without any assertions to avoid warnings
[senf.git] / senf / Socket / Protocols / Raw / PacketSocketHandle.test.cc
index 29951fe..1a256c5 100644 (file)
@@ -42,6 +42,7 @@ SENF_AUTO_UNIT_TEST(packetSocketHandle)
     // We have a Problem here .. packet sockets are only allowed for root
     if (getuid() != 0) {
         BOOST_WARN_MESSAGE(false, "Cannot test senf::PacketSocketHandle as non-root user");
+        BOOST_CHECK( true );
         return;
     }