union: Implement union backend which reads from multiple backends

This commit is contained in:
Felix Brucker
2018-08-18 02:39:49 +02:00
committed by Nick Craig-Wood
parent 0fb12112f5
commit 9e3ea3c6ac
6 changed files with 379 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// Test Union filesystem interface
package union_test
import (
"testing"
"github.com/ncw/rclone/backend/local"
"github.com/ncw/rclone/fstest/fstests"
)
// TestIntegration runs integration tests against the remote
func TestIntegration(t *testing.T) {
fstests.Run(t, &fstests.Opt{
RemoteName: "TestUnion:",
NilObject: (*local.Object)(nil),
})
}