stefan2904 / shunit2

Automatically exported from code.google.com/p/shunit2
0 stars 0 forks source link

should not exit from sourced script #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$ zsh
$ echo $SHLVL
2
$ . ~/src/shell/shunit2
$ echo $SHLVL
1

What is the expected output? What do you see instead?
SHLVL should be 2.  shunit should not exit because it is being sourced, 
executed.

What version of the product are you using? On what operating system?
shunit2-2.1.5, Linux 2.6.32, zsh 4.3.6.

Please provide any additional information below.

Original issue reported on code.google.com by mikelwar...@gmail.com on 4 Oct 2010 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by kate.war...@gtempaccount.com on 15 Mar 2011 at 2:10