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