fs/torrentfs_test.go | 5 +++++ diff --git a/fs/torrentfs_test.go b/fs/torrentfs_test.go index 2b4d43cc802d8f791ed7bbd22cff21248de88ea0..b6fc297d15a899886fb46ab8c58a5aa99ffd1743 100644 --- a/fs/torrentfs_test.go +++ b/fs/torrentfs_test.go @@ -11,6 +11,7 @@ _ "net/http/pprof" "os" "path/filepath" "strconv" + "strings" "testing" "time" @@ -93,11 +94,15 @@ DataDir: filepath.Join(layout.BaseDir, "incomplete"), DisableTrackers: true, NoDHT: true, }) + defer client.Stop() log.Printf("%+v", *layout.Metainfo) client.AddTorrent(layout.Metainfo) fs := New(client) fuseConn, err := fuse.Mount(layout.MountDir) if err != nil { + if strings.Contains(err.Error(), "fuse") { + t.Skip(err) + } t.Fatal(err) } go func() {