// against more than one torrent. See issue #114
makeMagnet(t, server, cfg.DataDir, "test2")
for i := 0; i < 100; i++ {
- makeMagnet(t, server, cfg.DataDir, fmt.Sprintf("test%d", i+2))
+ makeMagnet(t, server, cfg.DataDir, fmt.Sprintf("test%d", i+3))
}
cfg = TestingConfig(t)
cfg.DataDir = filepath.Join(cfg.DataDir, "client")
// TODO: Move into a "new" Torrent opt type.
Storage storage.ClientImpl
+ // TODO: This should be on AddTorrentOpt too?
DisableInitialPieceCheck bool
// Whether to allow data download or upload