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