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