Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@sesmith177
Copy link
Contributor

  • Requires winpty-agent.exe and winpty.dll, which can be downloaded
    from: https://github.com/rprichard/winpty/releases. These can either be
    placed in the same directory as sshd.exe or have their directory given
    in the environment variable WINPTY_DLL_PATH

  • Remove external / internal build flags, replaces with windows2012R2.
    GOOS=windows -tags=windows2012R2 //builds for windows2012R2
    GOOS=windows //builds for windows2016

  • When run on windows, the tests for the handlers package and the cmd/sshd
    package require WINPTY_DLL_PATH to be set or they will fail

  • In cmd/sshd, the ItDoesNotExposeSensitiveInformation tests are
    skipped, as Windows does not have fork/exec

[#150808829]

Signed-off-by: Mark DeLillo [email protected]
Signed-off-by: Sunjay Bhatia [email protected]
Signed-off-by: Amin Jamali [email protected]

- Requires winpty-agent.exe and winpty.dll, which can be downloaded
from: https://github.com/rprichard/winpty/releases. These can either be
placed in the same directory as sshd.exe or have their directory given
in the environment variable WINPTY_DLL_PATH

- Remove external / internal build flags, replaces with windows2012R2.
    GOOS=windows -tags=windows2012R2 //builds for windows2012R2
    GOOS=windows                     //builds for windows2016

- When run on windows, the tests for the handlers package and the cmd/sshd
package require WINPTY_DLL_PATH to be set or they will fail

- In cmd/sshd, the ItDoesNotExposeSensitiveInformation tests are
skipped, as Windows does not have fork/exec

[#150808829]

Signed-off-by: Mark DeLillo <[email protected]>
Signed-off-by: Sunjay Bhatia <[email protected]>
Signed-off-by: Amin Jamali <[email protected]>
@cfdreddbot
Copy link

Hey sesmith177!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/151090677

The labels on this github issue will be updated when the story is started.

@sesmith177 sesmith177 changed the title Add windows support using WinPTY Add windows2016 support using WinPTY Sep 14, 2017
@emalm
Copy link
Contributor

emalm commented Sep 18, 2017

Thanks, @sesmith177 ! Prioritizing this and cloudfoundry/diego-release#358 for the Diego team to evaluate.

Best,
Eric

@mhoran
Copy link
Contributor

mhoran commented Sep 22, 2017

@stefanschneider, thought you might be interested in this one!

@stefanschneider
Copy link

Wooow. This is really impressive. Looking forward to see the recorded talk at CF Summit Europe :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

7 participants