From: Mattias EngdegÄrd Date: Sun, 13 Mar 2022 10:01:59 +0000 (+0100) Subject: Fix esh-proc-tests on macOS X-Git-Tag: emacs-29.0.90~1931^2~1157 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6287816f2af5a954d735fa62ce714db2067a3db;p=emacs.git Fix esh-proc-tests on macOS * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/kill-pipeline): Add pattern matching output when killing a process on macOS (and possibly other BSDs). --- diff --git a/test/lisp/eshell/esh-proc-tests.el b/test/lisp/eshell/esh-proc-tests.el index d2184688f3f..7f461d1813c 100644 --- a/test/lisp/eshell/esh-proc-tests.el +++ b/test/lisp/eshell/esh-proc-tests.el @@ -62,7 +62,7 @@ prompt. See bug#54136." (eshell-wait-for-subprocess t) (should (string-match-p ;; "interrupt\n" is for MS-Windows. - (rx (or "interrupt\n" "killed\n")) + (rx (or "interrupt\n" "killed\n" "killed: 9\n")) (buffer-substring-no-properties output-start (eshell-end-of-output)))))))