From: Matt Joiner Date: Thu, 1 Jun 2017 05:39:44 +0000 (+1000) Subject: Skip on fusermount failure X-Git-Tag: v1.0.0~465 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=54764254f461fefe5b4f1ffd0fc6ab9a9ea90ac2;p=btrtrc.git Skip on fusermount failure --- diff --git a/fs/torrentfs_test.go b/fs/torrentfs_test.go index dcd50fb8..949951f6 100644 --- a/fs/torrentfs_test.go +++ b/fs/torrentfs_test.go @@ -102,7 +102,8 @@ func TestUnmountWedged(t *testing.T) { fuseConn, err := fuse.Mount(layout.MountDir) if err != nil { switch err.Error() { - case "cannot locate OSXFUSE": + case "cannot locate OSXFUSE", + "fusermount: exit status 1": t.Skip(err) } t.Fatal(err)