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