Skip to content

Tests against cmd.exe et. al. on Windows Subsystem for Linux (WSL) #18

@plicease

Description

@plicease

With these commits:

ae20c3b
579fc22

we are filtering PATH on WSL by probing /proc to see if we are running under WSL. This is in order to make the distribution usable on that platform. However, we are missing an opportunity here, in one place we could potentially test windows and unix style shells. The challenge is going to be writing the test config files for windows in the appropriate temp space (Windows apps cannot read WSL's /tmp). One solution is to use cmd.exe to print the appropriate environment variable. Another is to only test windows shells on WSL if an environment variable is set specifying the temp space. The latter would be useful for developer testing, but requires opt-in (which may not be a bad thing). Another challenge is converting between WSL and Windows paths. On cygwin/msys there is an API for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions