From: Matt Joiner Date: Mon, 15 Feb 2021 04:45:07 +0000 (+1100) Subject: fs/test.sh: Use godo for out of tree go run X-Git-Tag: v1.26.0-alpha~10^2~4 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=a5439836d9d40a3970caa983a08feaf2f089eb20;p=btrtrc.git fs/test.sh: Use godo for out of tree go run --- diff --git a/fs/test.sh b/fs/test.sh index e5cfc07d..bb54d4f7 100755 --- a/fs/test.sh +++ b/fs/test.sh @@ -1,7 +1,7 @@ set -eux repopath="$(cd "$(dirname "$0")/.."; pwd)" mkdir -p mnt torrents -GOPPROF=http go run -v -race "$repopath/cmd/torrentfs" -mountDir=mnt -metainfoDir=torrents &> log & +GOPPROF=http godo -v -race "$repopath/cmd/torrentfs" -mountDir=mnt -metainfoDir=torrents &> log & trap 'set +e; sudo umount -f mnt' EXIT debian_file=debian-10.8.0-amd64-netinst.iso pushd torrents