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