"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
allow usage of -short in the testing framework
yparitcher52df19ad34f2
diff --git a/fstest/test_all/config.go b/fstest/test_all/config.goindex 8f15a9b58..2fe0b7a6f 100644--- a/fstest/test_all/config.go+++ b/fstest/test_all/config.go@@ -18,6 +18,7 @@ import (type Test struct {Path string // path to the source directoryFastList bool // if it is possible to add -fast-list to tests+ Short bool // if it is possible to run the test with -shortAddBackend bool // set if Path needs the current backend appendingNoRetries bool // set if no retries should be performedNoBinary bool // set to not build a binary in advance@@ -31,6 +32,7 @@ type Backend struct {Backend string // name of the backend directoryRemote string // name of the test remoteFastList bool // set to test with -fast-list+ Short bool // set to test with -shortOneOnly bool // set to run only one backend test at onceIgnore []string // test names to ignore the failure ofTests []string // paths of tests to run, blank for all@@ -75,6 +77,7 @@ func (b *Backend) MakeRuns(t *Test) (runs []*Run) {Backend: b.Backend,Path: t.Path,FastList: fastlist,+ Short: (b.Short && t.Short),NoRetries: t.NoRetries,OneOnly: b.OneOnly,NoBinary: t.NoBinary,diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yamlindex f5c653670..d6d2ef5af 100644--- a/fstest/test_all/config.yaml+++ b/fstest/test_all/config.yaml@@ -2,6 +2,7 @@ tests:- path: backendaddbackend: truenobinary: true+ short: true- path: fs/operationsfastlist: true- path: fs/syncdiff --git a/fstest/test_all/run.go b/fstest/test_all/run.goindex 141d7e135..45ddb973b 100644--- a/fstest/test_all/run.go+++ b/fstest/test_all/run.go@@ -39,6 +39,7 @@ type Run struct {Backend string // name of the backendPath string // path to the source directoryFastList bool // add -fast-list to tests+ Short bool // add -shortNoRetries bool // don't retry if setOneOnly bool // only run test for this backend at onceNoBinary bool // set to not build a binary@@ -335,6 +336,9 @@ func (r *Run) Init() {if r.FastList {r.cmdLine = append(r.cmdLine, "-fast-list")}+ if r.Short {+ r.cmdLine = append(r.cmdLine, "-short")+ }r.cmdString = toShell(r.cmdLine)}