xref: /dflybsd-src/tools/regression/bin/sh/builtins/eval6.0 (revision 2eaa7169b800150eff65706a41f3cb005b2bf0c6)
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