]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Generate full sintel magnet link in fs test
authorMatt Joiner <anacrolix@gmail.com>
Wed, 1 Dec 2021 23:50:02 +0000 (10:50 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 12 Dec 2021 04:01:50 +0000 (15:01 +1100)
fs/test.sh

index c7e85835a4bb2ee98648845097a142adda30bf9f..8f3af5be619fcc491039fd55c8f6194251ad1e98 100755 (executable)
@@ -6,7 +6,7 @@ trap 'set +e; sudo umount -f mnt' EXIT
 debian_file=debian-10.8.0-amd64-netinst.iso
 pushd torrents
 cp "$repopath/testdata/$debian_file.torrent" .
-echo 'magnet:?xt=urn:btih:6a9759bffd5c0af65319979fb7832189f4f3c35d&dn=sintel.mp4' > sintel.magnet
+godo -v -race "$repopath/cmd/torrent" metainfo "$repopath/testdata/sintel.torrent" magnet > sintel.magnet
 popd
 file="$debian_file"
 # file=sintel.mp4