From c6287816f2af5a954d735fa62ce714db2067a3db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 13 Mar 2022 11:01:59 +0100 Subject: [PATCH] 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). --- 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 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))))))) -- 2.39.5