1# $FreeBSD: head/tools/regression/bin/sh/builtins/eval4.0 210738 2010-08-01 22:39:07Z jilles $
| 1# $FreeBSD: head/tools/regression/bin/sh/builtins/eval6.0 249220 2013-04-06 22:30:46Z jilles $
|
2 3# eval should preserve $? from command substitutions when starting 4# the parsed command.
| 2 3# eval should preserve $? from command substitutions when starting 4# the parsed command.
|
5[ $(eval 'echo $?' $(false)) = 1 ]
| 5[ $(false; eval 'echo $?' $(:)) = 0 ]
|
| |