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