"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
core/command: Add version command instead of ls
Chaitanya Bankanhal54fc2821cd94
diff --git a/fs/rc/internal_test.go b/fs/rc/internal_test.goindex 64b212b1a..c22bf3a57 100644--- a/fs/rc/internal_test.go+++ b/fs/rc/internal_test.go@@ -5,8 +5,6 @@ import ("runtime""testing"- "github.com/rclone/rclone/fstest"-"github.com/stretchr/testify/assert""github.com/stretchr/testify/require"@@ -125,17 +123,11 @@ func TestCoreQuit(t *testing.T) {// core/command: Runs a raw rclone commandfunc TestCoreCommand(t *testing.T) {call := Calls.Get("core/command")- r := fstest.NewRun(t)- defer r.Finalise()in := Params{- "command": "ls",- "opt": map[string]string{- "max-depth": "1",- },- "arg": []string{- r.FremoteName,- },+ "command": "version",+ "opt": map[string]string{},+ "arg": []string{},}got, err := call.Fn(context.Background(), in)require.NoError(t, err)