summary refs log tree commit diff
path: root/bin/cash/tests/builtins/eval4.0
blob: 111483c3a7652b409bce5192cefa18f75aae2701 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.0/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 ]