]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix godo use in torrentfs CI
authorMatt Joiner <anacrolix@gmail.com>
Mon, 28 Nov 2022 23:29:50 +0000 (10:29 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 28 Nov 2022 23:29:50 +0000 (10:29 +1100)
fs/test.sh

index 4e0aebc9b6fb43e6f64cc054cfa03719076e2f2a..5f46d3dc03d451a5befa83f85ead026e96c575e6 100755 (executable)
@@ -6,9 +6,9 @@ mkdir -p mnt torrents
 # them first and start the fs afterwards.
 pushd torrents
 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
-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
 #file="$debian_file"
 file=Sintel/Sintel.mp4