Commit 094ee880 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Use MountFileSystem in zipfs_test.

parent 52372fd9
......@@ -14,12 +14,9 @@ func TestZipFs(t *testing.T) {
t.Error("NewZipArchiveFileSystem failed:", err)
}
connector := fuse.NewFileSystemConnector(zfs, nil)
mountPoint := fuse.MakeTempDir()
defer os.RemoveAll(mountPoint)
state := fuse.NewMountState(connector)
state.Mount(mountPoint)
state, _, err := fuse.MountFileSystem(mountPoint, zfs, nil)
defer state.Unmount()
state.Debug = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment