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