server integration test: add Windows sftp server path

This commit is contained in:
Nicola Murino 2021-04-24 10:27:59 +02:00
parent 299240408d
commit f8d38c99d3
1 changed files with 1 additions and 0 deletions

View File

@ -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 {