"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
fstest: Fix config file override, hence fixing `make quicktest`
Nick Craig-Wood6f6f2aa369c8
diff --git a/fstest/fstest.go b/fstest/fstest.goindex beba06e43..11b5d5d98 100644--- a/fstest/fstest.go+++ b/fstest/fstest.go@@ -59,6 +59,12 @@ func Initialise() {// If your local config is encrypted set environment variable// "RCLONE_CONFIG_PASS=hunter2" (or your password)fs.Config.AskPassword = false+ // Override the config file from the environment - we don't+ // parse the flags any more so this doesn't happen+ // automatically+ if envConfig := os.Getenv("RCLONE_CONFIG"); envConfig != "" {+ config.ConfigPath = envConfig+ }config.LoadConfig()if *Verbose {fs.Config.LogLevel = fs.LogLevelDebug