-
Notifications
You must be signed in to change notification settings - Fork 58
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
Test pause #20
Test pause #20
Conversation
Thanks for the PR. Please update Also, please add the documentation of As for the other commit, |
Ok, I will update About the documentation, test_pause is already documented in README.git there: https://github.com/mlafeldt/sharness/blob/master/README.git#L578, so I think you mean README.md. |
About If you mean that the right fix is to make sharness.sh set it and export it, then I can agree with that, but I think it is a bigger fix, though I may have a look at doing that if you think it is really needed and we agree about how to do it. |
I have moved the $SHELL_PATH change into its own PR #21, so we can discuss it there. |
@mlafeldt could you have a look at the following changes:
Do you really want me to make some changes to README.git? It already has some information about test_pause: |
Git has a test_pause() function that can be used to debug sharness tests: https://github.com/git/git/blob/master/t/test-lib-functions.sh#L140 The README.git file also talks about it: https://github.com/mlafeldt/sharness/blob/master/README.git#L578 Let's add it to sharness too.
This is rebased on top of master and this is using SHELL_PATH instead of SHELL. |
The first commit in this PR fixes issue #19 (Including test_pause()) by adding test_pause().
And the second commit fixes a small bug in sharness.t while at it.