mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
* reject .torrent files with missing info:[pieces] key * reduce test torrent size * add more tests for bad 'pieces' key * use files_.total_size() * fixup code_style * anonymize piece hashes * move dupe files check to finishInfoDict() * better piece count comparison * add test for dupe files * revert else if -> else * update for #8409, move tests to torrents-metainfo suite * add test for duplicate pieces key and tidy * deeper testing of error conditions Co-authored-by: Yat Ho <lagoho7@gmail.com> --------- Co-authored-by: Yat Ho <lagoho7@gmail.com>