xref: /freebsd/bin/sh/tests/builtins/eval4.0 (revision edf8578117e8844e02c0121147f45e4609b30680)
1
2# eval should preserve $? from command substitutions when starting
3# the parsed command.
4[ $(eval 'echo $?' $(false)) = 1 ]
5