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