===== break continue =====
break ok 2
break ok
continue 1
continue ok
continue 2
continue ok
===== eval =====
-i
1
2
1
2
1
2
4
1
2
break ok
1
2
continue ok
4
status1=0
status2=3
===== . =====
-1 2 3-
--
returning --
returning --
0
-a b c-
===== command =====
if: shell keyword
then: shell keyword
else: shell keyword
elif: shell keyword
fi: shell keyword
do: shell keyword
done: shell keyword
case: shell keyword
esac: shell keyword
while: shell keyword
until: shell keyword
for: shell keyword
{: shell keyword
}: shell keyword
!: shell keyword
in: shell keyword
command: _no_such_command_: no such command or function
1
:: special builtin
.: special builtin
break: special builtin
continue: special builtin
eval: special builtin
exec: special builtin
exit: special builtin
export: special builtin
readonly: special builtin
return: special builtin
set: special builtin
shift: special builtin
times: special builtin
trap: special builtin
unset: special builtin
bg: semi-special builtin
cd: semi-special builtin
command: semi-special builtin
false: semi-special builtin
fg: semi-special builtin
getopts: semi-special builtin
jobs: semi-special builtin
kill: semi-special builtin
pwd: semi-special builtin
read: semi-special builtin
true: semi-special builtin
umask: semi-special builtin
wait: semi-special builtin
command: sh: no such command or function
ok
command -b cat = 127
command -B exit 127 = 127
command exit 10 = 10
command -vb cat = 1
command -vB exit = 1
cd: alias for `cd'
cd: function
=1=
cd: semi-special builtin
=2=
type: cd: no such command or function
===== suspend =====
1
STOP
TTOU
2
===== fg bg =====
[1] sleep $(echo  0)
[1]   Stopped(SIGSTOP)     ${INVOKE} ${TESTEE} -c 'suspend; echo 1'
[2] - Stopped(SIGSTOP)     ${INVOKE} ${TESTEE} -c 'suspend; echo 2'
[3] + Stopped(SIGSTOP)     ${INVOKE} ${TESTEE} -c 'suspend; echo 3'
[2] ${INVOKE} ${TESTEE} -c 'suspend; echo 2'
2
[3] ${INVOKE} ${TESTEE} -c 'suspend; echo 3'
3
[1] ${INVOKE} ${TESTEE} -c 'suspend; echo 1'
1
[1] + Stopped(SIGSTOP)     ${INVOKE} ${TESTEE} -c 'suspend; echo 4'
[1] ${INVOKE} ${TESTEE} -c 'suspend; echo 4'
4
[1] ${INVOKE} ${TESTEE} -c 'suspend'
[2] ${INVOKE} ${TESTEE} -c 'suspend'
[3] ${INVOKE} ${TESTEE} -c 'suspend; echo 7'
7
===== exec =====
sh
sh
bar=456
foo=123
bar=456
foo=123
