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