2
0
mirror of synced 2025-02-24 14:48:27 +00:00

Skip on fusermount failure

This commit is contained in:
Matt Joiner 2017-06-01 15:39:44 +10:00
parent c2f77fc84a
commit 54764254f4

View File

@ -102,7 +102,8 @@ func TestUnmountWedged(t *testing.T) {
fuseConn, err := fuse.Mount(layout.MountDir) fuseConn, err := fuse.Mount(layout.MountDir)
if err != nil { if err != nil {
switch err.Error() { switch err.Error() {
case "cannot locate OSXFUSE": case "cannot locate OSXFUSE",
"fusermount: exit status 1":
t.Skip(err) t.Skip(err)
} }
t.Fatal(err) t.Fatal(err)