Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Check remote is empty between integration tests

Nick Craig-Wood18ebec8276f0
diff --git a/fs/operations_test.go b/fs/operations_test.go
index 8f0030ee9..c8ce262cf 100644
--- a/fs/operations_test.go
+++ b/fs/operations_test.go
@@ -141,6 +141,8 @@ func NewRun(t *testing.T) *Run {
if errors != 0 {
t.Fatalf("%d errors while cleaning remote %v", errors, r.fremote)
}
+ // Check remote is empty
+ fstest.CheckItems(t, r.fremote)
}
}
r.Logf = t.Logf