freebsd-skq/bin/sh/tests/builtins/eval6.0

6 lines
140 B
Plaintext
Raw Normal View History

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