]> git.saurik.com Git - apple/shell_cmds.git/blob - sh/tests/builtins/eval4.0
82c3ea9c4f440c7b12dfa9530e1310549e8e50d1
[apple/shell_cmds.git] / sh / tests / builtins / eval4.0
1 # $FreeBSD: head/bin/sh/tests/builtins/eval4.0 210738 2010-08-01 22:39:07Z jilles $
2
3 # eval should preserve $? from command substitutions when starting
4 # the parsed command.
5 [ $(eval 'echo $?' $(false)) = 1 ]