test-interest-aggregation: test case to test NFD's interest aggregation
Change-Id: I7b84e0d77d285b4ef85a3b1850a0cc953cfc05b3
refs: #1384
diff --git a/test_ndnpeekpoke/README.md b/test_ndnpeekpoke/README.md
index 3f9b9d1..47150d9 100644
--- a/test_ndnpeekpoke/README.md
+++ b/test_ndnpeekpoke/README.md
@@ -7,6 +7,6 @@
## Description ##
-This test case will run the NFD, ndn-tlv-peek and ndn-tlv-poke binaries.
+This test case will run NFD, ndn-tlv-peek and ndn-tlv-poke.
This will report SUCCESS if one interest/data is successfully exchanged between ndn-tlv-peek and ndn-tlv-poke.
In all other scenarios, the test case will report FAILURE
diff --git a/test_ndnpeekpoke/test_ndnpeekpoke.py b/test_ndnpeekpoke/test_ndnpeekpoke.py
index 257cfbc..8e38c78 100644
--- a/test_ndnpeekpoke/test_ndnpeekpoke.py
+++ b/test_ndnpeekpoke/test_ndnpeekpoke.py
@@ -17,11 +17,13 @@
def setUp(self):
print "\nTesting ndn-tlv-peek & ndn-tlv-poke"
print "***********************************"
+ os.system("mkdir test_ndnpeekpoke/logs/")
def tearDown(self):
self.killNfd()
self.killProcess("ndn-tlv-poke")
self.killProcess("ndn-tlv-peek")
+ os.system("rm -r test_ndnpeekpoke/logs/")
self.cleanupProcesses()
def test_peekpoke(self):
@@ -33,7 +35,7 @@
"-> Starting Poke",
inputFile=pokeInputFile)
time.sleep(1)
- peekOutputFile = os.path.abspath("/tmp/test-peek-output.txt")
+ peekOutputFile = os.path.abspath("test_ndnpeekpoke/logs/test-peek-output.txt")
self.startProcess("ndn-tlv-peek",
["ndn-tlv-peek", "ndn:/test/peekpoke"],
"-> Starting Peek",