From: Lars Ingebrigtsen Date: Mon, 7 Mar 2022 03:25:21 +0000 (+0100) Subject: Fix esh-proc-test/kill-pipeline-head loop syntax X-Git-Tag: emacs-29.0.90~1980 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4405d730693e94486326379c687c87f2acec9508;p=emacs.git Fix esh-proc-test/kill-pipeline-head loop syntax * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/kill-pipeline-head): Fix syntax of loop. --- diff --git a/test/lisp/eshell/esh-proc-tests.el b/test/lisp/eshell/esh-proc-tests.el index 8cd893ce570..7dc9d29cfec 100644 --- a/test/lisp/eshell/esh-proc-tests.el +++ b/test/lisp/eshell/esh-proc-tests.el @@ -71,7 +71,7 @@ write the exit status to the pipe. See bug#54136." (executable-find "sleep"))) (with-temp-eshell (eshell-insert-command - (concat "sh -c 'while true; sleep 1; done' | " + (concat "sh -c 'while true; do sleep 1; done' | " "sh -c 'while read NAME; do echo =${NAME}=; done'")) (let ((output-start (eshell-beginning-of-output))) (kill-process (eshell-head-process))