You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the continued prompt responses. This issue might be a repeat, but I've submitted so many I've gotten lost. I apologize if it is.
IAE, with this test case
#/bin/bash
eval "(echo Stuff in subshell
echo More stuff in subshell
) "
echo "Inbetween stuff"
(echo "Other subshell"
echo More stuff in Other subshell
)
All lines in this script are executed. However, the first two lines in the eval'd subshell are reported as uncovered. The last line (with the closing paren) is marked as covered.
OTOH, the first two lines in the second subshell are shown as covered, and the line with the closing paren is marked as uncovered.
The text was updated successfully, but these errors were encountered:
Anyway, sometimes bash reports the executed line a bit strangely, like on the terminating parenthesis. This might be one of those cases, and if so probably the lines above should be marked as no-code.
Thanks for the continued prompt responses. This issue might be a repeat, but I've submitted so many I've gotten lost. I apologize if it is.
IAE, with this test case
All lines in this script are executed. However, the first two lines in the eval'd subshell are reported as uncovered. The last line (with the closing paren) is marked as covered.
OTOH, the first two lines in the second subshell are shown as covered, and the line with the closing paren is marked as uncovered.
The text was updated successfully, but these errors were encountered: