-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testscript: add ${/} as a companion to ${:} (#90)
${:} expands to os.PathListSeparator; now ${/} expands to os.PathSeparator. It's useful to skip windows-vs-unixy conditions, like the ones that we simplified in exec_path_change with HOME and PATH. It's also useful so that 'cmpenv stdout stdout.golden' can easily support output which contains relative file paths. While at it, make the stdin and exec_path_change scripts work on Wine (i.e. vanilla Windows), which has neither Go nor coreutils installed.
- Loading branch information
Showing
3 changed files
with
11 additions
and
8 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
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