2017-02-01 04:34:11 +08:00
|
|
|
// Test Sftp filesystem interface
|
2018-03-20 00:37:40 +08:00
|
|
|
|
2019-04-16 03:03:33 +08:00
|
|
|
// +build !plan9
|
2018-03-20 00:37:40 +08:00
|
|
|
|
2017-02-01 04:34:11 +08:00
|
|
|
package sftp_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
2018-01-12 00:05:41 +08:00
|
|
|
"github.com/ncw/rclone/backend/sftp"
|
2017-02-01 04:34:11 +08:00
|
|
|
"github.com/ncw/rclone/fstest/fstests"
|
|
|
|
)
|
|
|
|
|
2018-04-08 01:48:11 +08: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-02-01 04:34:11 +08:00
|
|
|
}
|