Generate full sintel magnet link in fs test

This commit is contained in:
Matt Joiner 2021-12-02 10:50:02 +11:00
parent e16c799638
commit 4913f17c01
1 changed files with 1 additions and 1 deletions

View File

@ -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