forked from mvdan/sh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interp: support lowercase volume names in $PATH
On Windows, "C:" is a valid volume name, just like "c:". We were incorrectly assuming that the letter had to be uppercase. Add a simple regression test for Windows, which sets up a PATH with a script in a directory, then tries to execute it via such a PATH with a lowercase volume name. Fixes mvdan#355.
- Loading branch information
Showing
2 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters