sftpd: add lstat support

This commit is contained in:
Nicola Murino
2020-09-11 09:30:25 +02:00
parent 01850c7399
commit 61003c8079
5 changed files with 82 additions and 36 deletions

View File

@@ -190,7 +190,7 @@ func TestMain(m *testing.M) {
httpd.ReloadTLSCertificate() //nolint:errcheck
testServer = httptest.NewServer(httpd.GetHTTPRouter())
defer testServer.Close() //nolint:errcheck
defer testServer.Close()
exitCode := m.Run()
os.Remove(logfilePath) //nolint:errcheck