xref: /freebsd/bin/sh/tests/builtins/eval6.0 (revision cb14a3fe5122c879eae1fb480ed7ce82a699ddb6)
1
2# eval should preserve $? from command substitutions when starting
3# the parsed command.
4[ $(false; eval 'echo $?' $(:)) = 0 ]
5