"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: add ResetRun to allow the remote to be reset in tests
Nick Craig-Wood203df6cc585b
diff --git a/fstest/run.go b/fstest/run.goindex 4ffb33692..2f492d4db 100644--- a/fstest/run.go+++ b/fstest/run.go@@ -60,11 +60,16 @@ type Run struct {Logf, Fatalf func(text string, args ...any)}+// ResetRun re-reads the command line arguments into the global run.+func ResetRun() {+ oneRun = newRun()+}+// TestMain drives the testsfunc TestMain(m *testing.M) {flag.Parse()if !*Individual {- oneRun = newRun()+ ResetRun()}rc := m.Run()if !*Individual {