Lines Matching refs:subshell
145 then err_exit 'unset foo in subshell produces side effect '
233 then err_exit 'setting TMOUT in subshell affects parent'
275 then err_exit 'IFS not restored after subshell'
463 [[ $(posixfun .sh.subshell) == 1 ]] || err_exit ".sh.subshell not working for posix functions"
464 [[ $(fun .sh.subshell) == 1 ]] || err_exit ".sh.subshell not working for functions"
466 [[ $(posixfun .sh.subshell) == 2 ]] || err_exit ".sh.subshell not working for posix functions in subshells"
467 [[ $(fun .sh.subshell) == 2 ]] || err_exit ".sh.subshell not working for functions in subshells"
468 (( .sh.subshell == 1 )) || err_exit ".sh.subshell not working in a subshell"
548 [[ $2 == b ]] || err_exit '$2 should be b after subshell'
598 [[ $(a=1) == a=1 ]] || err_exit 'set discipline not working in subshell assignment'
599 [[ $(a=1 :) == a=1 ]] || err_exit 'set discipline not working in subshell command'
601 [[ ${.sh.subshell} == 0 ]] || err_exit '${.sh.subshell} should be 0'
603 [[ ${.sh.subshell} == 1 ]] || err_exit '${.sh.subshell} should be 1'
605 [[ ${.sh.subshell} == 2 ]] || err_exit '${.sh.subshell} should be 2'