From 436af2580fecb908a7687c01e435eb5dabadbae9 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 29 Nov 2022 10:29:50 +1100 Subject: [PATCH] Fix godo use in torrentfs CI --- fs/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/test.sh b/fs/test.sh index 4e0aebc9..5f46d3dc 100755 --- a/fs/test.sh +++ b/fs/test.sh @@ -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