2017-01-31 20:34:11 +00:00
|
|
|
// Test Sftp filesystem interface
|
2018-03-19 16:37:40 +00:00
|
|
|
|
2019-04-15 19:03:33 +00:00
|
|
|
// +build !plan9
|
2018-03-19 16:37:40 +00:00
|
|
|
|
2017-01-31 20:34:11 +00:00
|
|
|
package sftp_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2019-07-28 17:47:38 +00:00
|
|
|
"github.com/rclone/rclone/backend/sftp"
|
|
|
|
"github.com/rclone/rclone/fstest/fstests"
|
2017-01-31 20:34:11 +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: "TestSftp:",
|
|
|
|
NilObject: (*sftp.Object)(nil),
|
|
|
|
})
|
2017-01-31 20:34:11 +00:00
|
|
|
}
|