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