Index: tests/shells.test =================================================================== diff -u -r0956bd063e7aaa155b4dccad0997b381ddd5ec15 -r31727ed145eba8f7d81bc93fc0a9ee47c6096b7c --- tests/shells.test (.../shells.test) (revision 0956bd063e7aaa155b4dccad0997b381ddd5ec15) +++ tests/shells.test (.../shells.test) (revision 31727ed145eba8f7d81bc93fc0a9ee47c6096b7c) @@ -57,6 +57,8 @@ unset ::res; unset ::opts ? [list exec $nxsh -c << "exit 0"] "" ? [list exec $nxsh -c << "exit 1"] "child process exited abnormally" + ? [list exec $nxsh -c << "catch {exit 1}"] "child process exited abnormally" + ? [list exec $nxsh -c << "catch {nx::Object eval {exit 1}}"] "child process exited abnormally" ## avoid pollution of global namespace ## set tclsh [info nameofexecutable]