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