mirror of
https://github.com/rclone/rclone.git
synced 2025-08-25 20:35:46 +02:00
union: Implement union backend which reads from multiple backends
This commit is contained in:
committed by
Nick Craig-Wood
parent
0fb12112f5
commit
9e3ea3c6ac
17
backend/union/union_test.go
Normal file
17
backend/union/union_test.go
Normal 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),
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user