]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix esh-proc-tests on macOS
authorMattias Engdegård <mattiase@acm.org>
Sun, 13 Mar 2022 10:01:59 +0000 (11:01 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 13 Mar 2022 10:01:59 +0000 (11:01 +0100)
* 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

index d2184688f3f2cc8d0a840c420f410f0ebca6b3dc..7f461d1813ccbafbd91e1263399bd5e82a556f7a 100644 (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)))))))