mounttest: run the tests for all 4 VFS cache modes

This commit is contained in:
Nick Craig-Wood
2017-11-20 12:46:21 +00:00
parent d7908c06c9
commit 57a5c67729
3 changed files with 30 additions and 3 deletions
+2
View File
@@ -129,6 +129,8 @@ func mount(f fs.Fs, mountpoint string) (*vfs.VFS, <-chan error, func() error, er
// unmount
unmount := func() error {
// Shutdown the VFS
fsys.VFS.Shutdown()
fs.Debugf(nil, "Calling host.Unmount")
if host.Unmount() {
fs.Debugf(nil, "host.Unmount succeeded")