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

bats/helpers: Add create_forwarding_script #192

Merged
merged 1 commit into from
Aug 30, 2017
Merged

Commits on Aug 29, 2017

  1. bats/helpers: Add create_forwarding_script

    This is one of the functions listed #186 as a candidate for migration
    from `tests/template.bats`. I realized it would be helpful to have this
    function while migrating the assertions from `tests/scripts/serve.bats`
    in mbland/custom-links per #181.
    
    This commit contains two additional changes:
    
    It removes the `--in-process` option from `stub_program_in_path`. It
    turns out I wasn't using that option anywhere, and I couldn't make any
    tests fail because it didn't have an effect anyway, since the `run`
    function from Bats always launches its arguments in a new subshell.
    
    `restore_program_in_path` now strips `BATS_TEST_BINDIR` from the
    beginning of `PATH`.
    mbland committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    ed09765 View commit details
    Browse the repository at this point in the history