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).
This commit is contained in:
Mattias Engdegård 2022-03-13 11:01:59 +01:00
parent 15b303dfc9
commit c6287816f2

View file

@ -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)))))))