Subject: bug#58225: 29.0.50; esh-var-test/interp-cmd-external test fails on macOS (10.13.6)

From: Jim Porter <[email-masked]>
Date: Sat, 1 Oct 2022 22:44:54 -0700

On 10/1/2022 7:25 AM, Stefan Kangas wrote:
> Failed test on macOS 10.13.6, see below output from "make check":
> 
> Test esh-var-test/interp-cmd-external condition:
>      (ert-test-failed
>       ((should
>         (eshell-match-output regexp))
>        :form
>        (eshell-match-output "hi\n")
>        :value nil :explanation
>        (mismatched-output
>         (command "echo ${*echo hi}\n")
>         (output "")
>         (regexp "hi\n"))))

I don't have access to a macOS system, unfortunately. What happens if 
you run the following commands starting from "emacs -Q -f eshell"?

   echo ${echo hi}
   echo ${*echo hi}
   *echo ${echo hi}
   *echo ${*echo hi}

They should all output "hi", with a newline at the end.