-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Shell flags inherited by child shells #50
Comments
@CyberShadow -- looks like this is due to the fact that Bashcov exports
Works as expected when run without touching
Also works as expected when run with
But, when called with called with
Interestingly, it looks like the issue crops up whenever the parent explicitly defines
This behavior goes back a while:
Hypothesis: using
Results in:
At present, there is not much Bashcov can do about this issue -- setting |
Thanks. Would it make sense to make bashcov do the equivalent of |
I think this could be implemented as an optional execution mode, with a conspicuous note that using this mode may limit the number of scripts Bashcov is able to gather coverage data for, since (unlike |
Consider these scripts:
The behavior is different depending on whether the script is run under bashcov or not:
The text was updated successfully, but these errors were encountered: