mirror of
https://github.com/rclone/rclone.git
synced 2025-04-20 19:08:55 +08:00
20 lines
370 B
Go
20 lines
370 B
Go
//go:build unix
|
|
|
|
// The serving is tested in cmd/nfsmount - here we test anything else
|
|
package nfs
|
|
|
|
import (
|
|
"testing"
|
|
|
|
_ "github.com/rclone/rclone/backend/local"
|
|
"github.com/rclone/rclone/cmd/serve/servetest"
|
|
"github.com/rclone/rclone/fs/rc"
|
|
)
|
|
|
|
func TestRc(t *testing.T) {
|
|
servetest.TestRc(t, rc.Params{
|
|
"type": "nfs",
|
|
"vfs_cache_mode": "off",
|
|
})
|
|
}
|