]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix esh-proc-test/kill-pipeline-head loop syntax
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Mar 2022 03:25:21 +0000 (04:25 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Mar 2022 03:25:21 +0000 (04:25 +0100)
* test/lisp/eshell/esh-proc-tests.el
(esh-proc-test/kill-pipeline-head): Fix syntax of loop.

test/lisp/eshell/esh-proc-tests.el

index 8cd893ce57022d3a653c6354aa51ea7ccbee2a2b..7dc9d29cfecad8800f70e770d2bf7b596b42ef4a 100644 (file)
@@ -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))