summary refs log tree commit diff
path: root/bin/cash/tests/builtins/eval6.0
blob: 02097c7679180563447492719eabc64f33327f97 (plain) (blame)
1
2
3
4
5
# $FreeBSD: releng/12.0/bin/sh/tests/builtins/eval6.0 249220 2013-04-06 22:30:46Z jilles $

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