Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testscript: add ${/} as a companion to ${:} #90

Merged
merged 1 commit into from
May 6, 2020

Commits on Feb 23, 2020

  1. testscript: add ${/} as a companion to ${:}

    ${:} 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.
    mvdan committed Feb 23, 2020
    Configuration menu
    Copy the full SHA
    b0cfa7c View commit details
    Browse the repository at this point in the history