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