From 4405d730693e94486326379c687c87f2acec9508 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 7 Mar 2022 04:25:21 +0100 Subject: [PATCH] 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. --- test/lisp/eshell/esh-proc-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2