rib-manager: deleting expired entries from the rib and fib.
refs #1326
Change-Id: I865bff19da766560f920b1818bdf3eaa91e7dbb1
diff --git a/tests/rib/rib.cpp b/tests/rib/rib.cpp
index 2ee3070..faa1845 100644
--- a/tests/rib/rib.cpp
+++ b/tests/rib/rib.cpp
@@ -319,8 +319,8 @@
rib.erase(name4, entry2);
BOOST_CHECK_EQUAL(rib.size(), 2);
- BOOST_CHECK(rib.find(name2, entry2) == shared_ptr<rib::FaceEntry>());
- BOOST_CHECK(rib.find(name1, entry1) != shared_ptr<rib::FaceEntry>());
+ BOOST_CHECK_EQUAL(rib.find(name2, entry2), static_cast<FaceEntry*>(0));
+ BOOST_CHECK_NE(rib.find(name1, entry1), static_cast<FaceEntry*>(0));
rib.erase(name1, entry1);
BOOST_CHECK_EQUAL(rib.size(), 1);