[comp.bugs.4bsd] sh -e not halted by "test" returning 1 false

Dan_Jacobson@ATT.COM (04/29/91)

I've seen this problem with sh on Sun and SYS V.  ksh doesn't have the
problem.

echo Begin nuclear power plant shutdown check
set -xe
test 3 -eq 32
echo \$-=$- \$0=$0 \$?=$? I shouldnt be still running after \"test 3 -eq 32\"

non built-in commands, and the "false" command, when they return
non-0, will stop sh, though.