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