added comment about running raw ping

This commit is contained in:
Alex Fabijanic
2015-01-22 18:52:11 -06:00
parent 13261a5714
commit 0b3602baa3

View File

@@ -48,6 +48,8 @@ ICMPClientTest::~ICMPClientTest()
void ICMPClientTest::testPing()
{
// In order to succeed, this test case must be run
// by user with permissions to acess raw sockets.
assert(ICMPClient::pingIPv4("localhost") > 0);
assert(_icmpClient.ping("localhost") > 0);