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