2020-09-28 17:29:44 +00:00
|
|
|
// Test HDFS filesystem interface
|
|
|
|
|
2021-09-09 12:25:25 +00:00
|
|
|
//go:build !plan9
|
2020-09-28 17:29:44 +00:00
|
|
|
|
|
|
|
package hdfs_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/rclone/rclone/backend/hdfs"
|
|
|
|
"github.com/rclone/rclone/fstest/fstests"
|
|
|
|
)
|
|
|
|
|
|
|
|
// TestIntegration runs integration tests against the remote
|
|
|
|
func TestIntegration(t *testing.T) {
|
|
|
|
fstests.Run(t, &fstests.Opt{
|
|
|
|
RemoteName: "TestHdfs:",
|
|
|
|
NilObject: (*hdfs.Object)(nil),
|
|
|
|
})
|
|
|
|
}
|