dump: add -t option to suppress printing per-packet timestamp

Change-Id: I4e0e44c62451629428d2d065692a0cb497a9203a
diff --git a/tests/dump/ndndump.t.cpp b/tests/dump/ndndump.t.cpp
index 7583f08..b3f255e 100644
--- a/tests/dump/ndndump.t.cpp
+++ b/tests/dump/ndndump.t.cpp
@@ -191,6 +191,17 @@
   BOOST_CHECK(output.is_equal(expected));
 }
 
+BOOST_AUTO_TEST_CASE(NoTimestamp)
+{
+  dump.wantTimestamp = false;
+
+  lp::Packet lpPacket;
+  this->receive(lpPacket);
+
+  const std::string expected = "Tunnel Type: EthernetFrame, NDNLPv2-IDLE\n";
+  BOOST_CHECK(output.is_equal(expected));
+}
+
 BOOST_AUTO_TEST_CASE(PcapTraceFile)
 {
   dump.inputFile = "tests/dump/nack.pcap";