**breaking change** nlsr.conf: rename seq-dir as state-dir
update: conf file in seperate directory for runtime modification
refs: #4823
Change-Id: I5378d831294814e382ad23a9e522d0b576180f20
diff --git a/tests/test-conf-file-processor.cpp b/tests/test-conf-file-processor.cpp
index 9cff6f9..4f0d8a7 100644
--- a/tests/test-conf-file-processor.cpp
+++ b/tests/test-conf-file-processor.cpp
@@ -45,7 +45,7 @@
" router-dead-interval 86400\n"
" sync-protocol psync\n"
" sync-interest-lifetime 10000\n"
- " seq-dir /tmp\n"
+ " state-dir /tmp\n"
"}\n\n";
const std::string SECTION_NEIGHBORS =
@@ -176,7 +176,7 @@
BOOST_CHECK_EQUAL(conf.getLsaInterestLifetime(), ndn::time::seconds(3));
BOOST_CHECK_EQUAL(conf.getRouterDeadInterval(), 86400);
BOOST_CHECK_EQUAL(conf.getSyncInterestLifetime(), ndn::time::milliseconds(10000));
- BOOST_CHECK_EQUAL(conf.getSeqFileDir(), "/tmp");
+ BOOST_CHECK_EQUAL(conf.getStateFileDir(), "/tmp");
// Neighbors
BOOST_CHECK_EQUAL(conf.getInterestRetryNumber(), 3);