sh: Split off some special behavior into separate regress tests.
[dragonfly.git] / tools / regression / bin / sh / builtins / eval4.0
1 # $FreeBSD: src/tools/regression/bin/sh/builtins/eval4.0,v 1.1 2010/08/01 22:39:07 jilles Exp $
2
3 # eval should preserve $? from command substitutions when starting
4 # the parsed command.
5 [ $(eval 'echo $?' $(false)) = 1 ]