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