2017-01-31 21:34:11 +01:00
|
|
|
// Test Sftp filesystem interface
|
2018-03-19 17:37:40 +01:00
|
|
|
|
|
|
|
// +build !plan9,go1.8
|
|
|
|
|
2017-01-31 21:34:11 +01:00
|
|
|
package sftp_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2018-01-11 17:05:41 +01:00
|
|
|
"github.com/ncw/rclone/backend/sftp"
|
2017-01-31 21:34:11 +01:00
|
|
|
"github.com/ncw/rclone/fstest/fstests"
|
|
|
|
)
|
|
|
|
|
2018-04-07 19:48:11 +02: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 21:34:11 +01:00
|
|
|
}
|