===== consequences of shell errors =====
syntax error non-interactive 2
syntax error interactive mainshell 1000
syntax error interactive subshell 2 [ok]
special builtin syntax error 2
non-special builtin syntax error 2
special builtin redirection error 2
non-special builtin redirection error 2
special builtin assignment error 2
non-special builtin assignment error 2
special builtin expansion error non-interactive 2
special builtin expansion error interactive mainshell 2
special builtin expansion error interactive subshell 2
non-special builtin expansion error non-interactive 2
non-special builtin expansion error interactive mainshell 2
non-special builtin expansion error interactive subshell 2
command not found error 127
===== invocation =====
-c 2
-c and -s 1 2
-c and -s 2 2
-c and -s 3 2
-c and -s 4 2
this is not an error
-c and -s 5 0
invalid option argument 1 2
missing argument profile 2
missing argument rcfile 2
ambiguous option 2
===== option =====
option missing argument short 2
option missing argument long 2
option no-such-option 1 2
option no-such-option 2 2
option no-such-option 3 2
option invalid option argument 2
===== set =====
set -c 2
set -i 2
set -l 2
set -s 2
set -V 2
set --cmdline 2
set --interactive 2
set --login 2
set --stdin 2
set --version 2
set no-such-option 1 2
set no-such-option 2 2
set output error 1
set ambiguous option 1 2
set ambiguous option 2 2
set missing argument 2
set invalid option 1 2
set invalid option 2 2
set unexpected option argument 2
===== cd =====
cd no-such-option 2
cd too-many-operands 2
cd no-such-dir 1
cd no OLDPWD 1
cd no HOME 1
cd output error 0
===== pwd =====
pwd no-such-option 2
pwd invalid operand 2
pwd output error 1
===== hash =====
hash no-such-option 2
hash invalid operand 2
hash slash argument 1
hash command not found 1
hash output error 1
===== umask =====
umask no-such-option 2
umask too-many-operands 2
umask output error 1
===== typeset =====
typeset no-such-option 2
typeset invalid-option-combination 1 2
typeset invalid-option-combination 2 2
typeset invalid-option-combination 3 2
typeset output error 1 1
typeset output error 2 1
typeset output error 3 1
typeset output error 4 1
typeset output error 5 1
typeset output error 6 1
typeset readonly 1
===== unset =====
unset no-such-option 2
unset readonly variable 1
unset readonly function 1
===== shift =====
shift no-such-option 2
shift shifting too many 1
===== getopts =====
getopts no-such-option 2
getopts operands missing 1 2
getopts operands missing 2 2
getopts invalid opt 1
getopts invalid var 1
===== read =====
read no-such-option 2
read operands missing 2
read input closed 1
read invalid identifier 1
===== trap =====
trap no-such-option 2
trap operands missing 2
trap KILL 1
trap STOP 1
trap output error 1 1
trap output error 2 1
trap output error 3 1
trap no-such-signal 1
===== kill =====
kill no-such-option 1
kill invalid-option-combination l n 2
kill invalid-option-combination l s 2
kill operands missing 2
kill no-such-signal 1
kill no-such-job 1
kill output error 1 1
kill output error 2 1
===== jobs kill =====
jobs no-such-option 2
jobs output error 1
jobs no-such-job 1 1
jobs no-such-job 2 1
===== wait =====
wait no-such-option 2
wait no-such-job 1 127
wait no-such-job 2 127
===== return =====
return no-such-option 2
return invalid operand 1 2
return invalid operand 2 2
return too many operands 2
return reached
===== break =====
break no-such-option 2
break invalid operand 1 2
break not in loop 2
break not in iteration 2
break invalid operand 2 2
===== continue =====
continue no-such-option 2
continue invalid operand 1 2
continue not in loop 2
continue not in iteration 2
continue invalid operand 2 2
===== eval =====
eval no-such-option 2
===== dot =====
dot no-such-option 2
dot operand missing 2
dot script not found in PATH 1
dot file-not-found 1
===== exec =====
exec no-such-option 2
exec command not found 127
===== command =====
command no-such-option 2
command invalid-option 1 2
command invalid-option 2 2
command output error 1
command no-such-command 1 127
command no-such-command 2 1
command no-such-command 3 1
===== times =====
times no-such-option 2
times invalid operand 2
times output error 1
===== exit =====
exit no-such-option 2
exit invalid operand 1 2
exit invalid operand 2 2
exit too many operands 2
===== suspend =====
suspend no-such-option 2
suspend invalid operand 2
===== ulimit =====
ulimit no-such-option 2
ulimit invalid option 2
ulimit output error 1
ulimit invalid operand 2
ulimit too many operands 1 2
ulimit too many operands 2 2
