1*b1abb130SPeter Avalos# $FreeBSD: head/tools/regression/bin/sh/builtins/eval6.0 249220 2013-04-06 22:30:46Z jilles $ 2*b1abb130SPeter Avalos 3*b1abb130SPeter Avalos# eval should preserve $? from command substitutions when starting 4*b1abb130SPeter Avalos# the parsed command. 5*b1abb130SPeter Avalos[ $(false; eval 'echo $?' $(:)) = 0 ] 6