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