Fix godo use in torrentfs CI

This commit is contained in:
Matt Joiner 2022-11-29 10:29:50 +11:00
parent 93f911ed01
commit 436af2580f
No known key found for this signature in database
GPG Key ID: 6B990B8185E7F782
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ mkdir -p mnt torrents
# them first and start the fs afterwards. # them first and start the fs afterwards.
pushd torrents pushd torrents
cp "$repopath/testdata/$debian_file.torrent" . cp "$repopath/testdata/$debian_file.torrent" .
godo -v "$repopath/cmd/torrent" metainfo "$repopath/testdata/sintel.torrent" magnet > sintel.magnet godo -v -- "$repopath/cmd/torrent" metainfo "$repopath/testdata/sintel.torrent" magnet > sintel.magnet
popd popd
GOPPROF=http godo -v "$repopath/cmd/torrentfs" -mountDir=mnt -metainfoDir=torrents & GOPPROF=http godo -v -- "$repopath/cmd/torrentfs" -mountDir=mnt -metainfoDir=torrents &
trap 'set +e; sudo umount -f mnt' EXIT trap 'set +e; sudo umount -f mnt' EXIT
#file="$debian_file" #file="$debian_file"
file=Sintel/Sintel.mp4 file=Sintel/Sintel.mp4