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