X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FRaw%2FTunTapSocketHandle.test.cc;h=45d715471d09a56d20da3c603e38f8ec64fa9add;hb=8ac1897a6759df5e28a5d88c1409cc8fdf373920;hp=a270d10810862df6ca7ad47c5faad1b41774f7bb;hpb=294845be2d7bd75cd01d269d7fe4ab498f379d1c;p=senf.git diff --git a/Socket/Protocols/Raw/TunTapSocketHandle.test.cc b/Socket/Protocols/Raw/TunTapSocketHandle.test.cc index a270d10..45d7154 100644 --- a/Socket/Protocols/Raw/TunTapSocketHandle.test.cc +++ b/Socket/Protocols/Raw/TunTapSocketHandle.test.cc @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY -// Stefan Bund +// Thorsten Horstmann // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -45,11 +45,11 @@ BOOST_AUTO_UNIT_TEST(tapSocketHandle) BOOST_WARN_MESSAGE(false, "Cannot test senf::TunTapSocketHandle as non-root user"); return; } - + senf::TapSocketHandle handle ("tap_unittest"); int ret = system( "/sbin/ifconfig tap_unittest up"); BOOST_CHECK_EQUAL( WEXITSTATUS(ret), 0); - + senf::PacketSocketHandle sock; BOOST_CHECK_NO_THROW( sock.bind(senf::LLSocketAddress("tap_unittest")) ); } @@ -57,7 +57,7 @@ BOOST_AUTO_UNIT_TEST(tapSocketHandle) ///////////////////////////////cc.e//////////////////////////////////////// #undef prefix_ - + // Local Variables: // mode: c++ // fill-column: 100