exit terminates shunit test

71 views
Skip to first unread message

David Miller

unread,
Jul 6, 2010, 9:21:02 AM7/6/10
to shunit2-users
I ran across shunit2 and tried it out on various scripts we are using
and it looks really useful. One question I have, though, is regarding
the use of “exit” in our shell scripts… if the script hits an exit 0
or exit 1, the test exits abnormally. This seems like a common enough
call and was wondering if there is a way to configure shunit2 to not
exit when it hits our exit statements. I looked at the FAQ and
perused the documentation but could not find anything. Any help
appreciated.
Reply all
Reply to author
Forward
0 new messages