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