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

Add some tests to ensure the binary returns the correct exit code #107

Merged
merged 2 commits into from
Mar 7, 2019

Conversation

duncan3dc
Copy link
Contributor

In issue #98 it was reported that the binary doesn't return the correct exit code, these tests should ensure it does in each scenario (success / missing symbols / error).

There's also a commit to make the binary executable again, and these tests will also serve was regression tests to prevent this happening again.
It looks like this was accidentally changed in https://github.com/maglnet/ComposerRequireChecker/pull/103/files#diff-b47b7b50f3cd7fd8988d9aa27f13133e

@Ocramius Ocramius self-assigned this Mar 7, 2019
@Ocramius Ocramius added this to the 1.2.0 milestone Mar 7, 2019
@Ocramius Ocramius merged commit 3402cbf into maglnet:master Mar 7, 2019
@Ocramius Ocramius modified the milestones: 1.2.0, 2.0.0 Mar 7, 2019
@duncan3dc duncan3dc deleted the bin-exit-code branch April 6, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants