diff --git a/Makefile.am b/Makefile.am index eb7ca623e..7528dcd0a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -114,18 +114,19 @@ EXTRA_DIST = \ libtorrent-rasterbar-cmake.pc \ parse_dht_log.py \ parse_session_stats.py \ - test/test_torrents/url_list2.torrent \ - test/test_torrents/httpseed.torrent \ - test/test_torrents/empty_httpseed.torrent \ - test/test_torrents/hidden_parent_path.torrent \ - test/test_torrents/url_list3.torrent \ - test/test_torrents/parent_path.torrent \ - test/test_torrents/slash_path.torrent \ - test/test_torrents/backslash_path.torrent \ test/test_torrents/base.torrent \ test/test_torrents/empty_path.torrent \ + test/test_torrents/parent_path.torrent \ + test/test_torrents/hidden_parent_path.torrent \ test/test_torrents/single_multi_file.torrent \ + test/test_torrents/slash_path.torrent \ + test/test_torrents/backslash_path.torrent \ test/test_torrents/url_list.torrent \ + test/test_torrents/url_list2.torrent \ + test/test_torrents/url_list3.torrent \ + test/test_torrents/httpseed.torrent \ + test/test_torrents/empty_httpseed.torrent \ + test/test_torrents/long_name.torrent \ $(DOCS_PAGES) \ $(DOCS_IMAGES) diff --git a/test/test_torrent_parse.cpp b/test/test_torrent_parse.cpp index 653e3401a..2ae96dda1 100644 --- a/test/test_torrent_parse.cpp +++ b/test/test_torrent_parse.cpp @@ -50,12 +50,12 @@ test_torrent_t test_torrents[] = { "single_multi_file.torrent" }, { "slash_path.torrent" }, { "backslash_path.torrent" }, - { "slash_path.torrent" }, { "url_list.torrent" }, { "url_list2.torrent" }, { "url_list3.torrent" }, { "httpseed.torrent" }, { "empty_httpseed.torrent" }, + { "long_name.torrent" }, // { "" }, }; diff --git a/test/test_torrents/long_name.torrent b/test/test_torrents/long_name.torrent new file mode 100644 index 000000000..6664c7176 --- /dev/null +++ b/test/test_torrents/long_name.torrent @@ -0,0 +1 @@ +d10:created by10:libtorrent13:creation datei1359599503e4:infod6:lengthi425e4:name300:abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0.2345678912:piece lengthi16384e6:pieces20:‚ž¼Œ&¾ÇJW›}ÜA4u,·¼‘‡ee