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