From 54764254f461fefe5b4f1ffd0fc6ab9a9ea90ac2 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 1 Jun 2017 15:39:44 +1000 Subject: [PATCH] Skip on fusermount failure --- fs/torrentfs_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.48.1