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