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

Make bats-file safe to use under -u #33

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

srcbucket
Copy link

Use ${BATSLIB_FILE_PATH_REM-} instead of $BATSLIB_FILE_PATH_REM.

Use set -u in all tests to avoid regressions.

Fixes #32

@srcbucket
Copy link
Author

Please don't make the merge dependent on a successful CI build. As far as I can tell, the build is broken for reasons unrelated to this commit.

@NoahGorny
Copy link

Hi @sublimino!
Any chance this will be looked at and merged?
It is important to make sure bats-file is safe under -u so we can use -u in our tests!

Use '${BATSLIB_FILE_PATH_REM-}' instead of '$BATSLIB_FILE_PATH_REM'.

Use "set -u" in all tests to avoid regressions.
@martin-schulze-vireso
Copy link
Member

Thanks for your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make bats-file safe to use under -u
3 participants