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