opnsense-src/tools/regression/bin/sh/builtins/eval4.0

5 lines
137 B
Text

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