eval4.0   [plain text]


# $FreeBSD: head/bin/sh/tests/builtins/eval4.0 210738 2010-08-01 22:39:07Z jilles $

# eval should preserve $? from command substitutions when starting
# the parsed command.
[ $(eval 'echo $?' $(false)) = 1 ]