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