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