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