xref: /dflybsd-src/tools/regression/bin/sh/builtins/eval6.0 (revision 10cf3bfcde2ee9c50d77a153397b93d8026b03e1)
1# $FreeBSD: head/tools/regression/bin/sh/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