On 9/6/2022 2:33 AM, Lars Ingebrigtsen wrote: > Speaking of eshell tests -- this one seems to be failing on EMBA in > nativecomp: > > https://emba.gnu.org/emacs/emacs/-/jobs/53337 > > 1 unexpected results: > FAILED eshell-test/subcommand-reset-in-pipeline ((should (eshell-command-result--equal command (eshell-test-command-result command) result)) :form (eshell-command-result--equal "*cat $ | *cat" "first\n" "first") :value nil :explanation (nonequal-result (command "*cat $ | *cat") (result "first\n") (expected "first"))) > > I'm unable to reproduce the failure myself. Interesting; the test is outputting "first\n", but we don't expect the newline. Maybe this is because EMBA uses a different version of "cat"? I think something like the attached patch would fix things. Then the test won't care about whether there's a newline or not.