xref: /dflybsd-src/tools/regression/bin/sh/builtins/eval6.0 (revision 3e3895bf4584c1562faf4533cbd97026ee6a8dcf)
1# $FreeBSD: head/bin/sh/tests/builtins/eval6.0 249220 2013-04-06 22:30:46Z jilles $
2
3# eval should preserve $? from command substitutions when starting
4# the parsed command.
5[ $(false; eval 'echo $?' $(:)) = 0 ]
6