Skip on fusermount failure

This commit is contained in:
Matt Joiner 2017-06-01 15:39:44 +10:00
parent c2f77fc84a
commit 54764254f4
1 changed files with 2 additions and 1 deletions

View File

@ -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)