sh: Sync with FreeBSD
[dragonfly.git] / tools / regression / bin / sh / builtins / eval6.0
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 ]