2016-12-27 20:52:30 +00:00
|
|
|
// Test FTP filesystem interface
|
|
|
|
package ftp_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2019-07-28 17:47:38 +00:00
|
|
|
"github.com/rclone/rclone/backend/ftp"
|
|
|
|
"github.com/rclone/rclone/fstest/fstests"
|
2016-12-27 20:52:30 +00:00
|
|
|
)
|
|
|
|
|
2018-04-07 17:48:11 +00:00
|
|
|
// TestIntegration runs integration tests against the remote
|
|
|
|
func TestIntegration(t *testing.T) {
|
|
|
|
fstests.Run(t, &fstests.Opt{
|
|
|
|
RemoteName: "TestFTP:",
|
|
|
|
NilObject: (*ftp.Object)(nil),
|
|
|
|
})
|
2016-12-27 20:52:30 +00:00
|
|
|
}
|