summaryrefslogtreecommitdiff
path: root/corebinutils/sh/tests/builtins/eval4.0
blob: 3eb4e3679fe732e1a01d2540dae7c9122905b984 (plain)
1
2
3
4

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