tools: display nfd software verion in nfd-status-http-server and nfd-status
refs #1916
Change-Id: I0ba272d4ba9314d483776526d05eaf0f2393dbac
diff --git a/tests/daemon/mgmt/status-server.cpp b/tests/daemon/mgmt/status-server.cpp
index 5757f46..bda69a4 100644
--- a/tests/daemon/mgmt/status-server.cpp
+++ b/tests/daemon/mgmt/status-server.cpp
@@ -84,7 +84,7 @@
ndn::nfd::ForwarderStatus status;
BOOST_REQUIRE_NO_THROW(status.wireDecode(g_response->getContent()));
- BOOST_CHECK_EQUAL(status.getNfdVersion(), NFD_VERSION);
+ BOOST_CHECK_EQUAL(status.getNfdVersion(), NFD_VERSION_BUILD_STRING);
BOOST_CHECK_GE(time::toUnixTimestamp(status.getStartTimestamp()), time::toUnixTimestamp(t1));
BOOST_CHECK_LE(time::toUnixTimestamp(status.getStartTimestamp()), time::toUnixTimestamp(t2));
BOOST_CHECK_GE(time::toUnixTimestamp(status.getCurrentTimestamp()), time::toUnixTimestamp(t3));