Integrate name change (add /ndn/multicast/ prefix). Additionally updated unit tests to test cases of
many torrent segments and many manifests.
Change-Id: Ieb3b3971fb09e31ddb15d85b5907ee7be41ef1ba
diff --git a/src/main.cpp b/src/main.cpp
index c4240d9..2fd441d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -103,7 +103,7 @@
manifests.insert(manifests.end(), ms.first.begin(), ms.first.end());
}
auto torrentPrefix = fs::canonical(dataPath).filename().string();
- outputPath += torrentPrefix;
+ outputPath += ("/" + torrentPrefix);
auto torrentPath = outputPath + "/torrent_files/";
// write all the torrent segments
for (const TorrentFile& t : torrentSegments) {