mirror of https://github.com/pkg/sftp.git
server integration test: add Windows sftp server path
This commit is contained in:
parent
299240408d
commit
f8d38c99d3
|
@ -41,6 +41,7 @@ func TestMain(m *testing.M) {
|
|||
"/usr/libexec/sftp-server",
|
||||
"/usr/lib/openssh/sftp-server",
|
||||
"/usr/lib/ssh/sftp-server",
|
||||
"C:\\Program Files\\Git\\usr\\lib\\ssh\\sftp-server.exe",
|
||||
}
|
||||
sftpServer, _ := exec.LookPath("sftp-server")
|
||||
if len(sftpServer) == 0 {
|
||||
|
|
Loading…
Reference in New Issue