aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/process-tests.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index eee8636067c..7a83df9eefa 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -701,7 +701,9 @@ Return nil if that can't be determined."
701 (when (eq process-tests--EMFILE-message :unknown) 701 (when (eq process-tests--EMFILE-message :unknown)
702 (setq process-tests--EMFILE-message 702 (setq process-tests--EMFILE-message
703 (with-temp-buffer 703 (with-temp-buffer
704 (when (eql (call-process "errno" nil t nil "EMFILE") 0) 704 (when (eql (ignore-error 'file-error
705 (call-process "errno" nil t nil "EMFILE"))
706 0)
705 (goto-char (point-min)) 707 (goto-char (point-min))
706 (when (looking-at (rx "EMFILE" (+ blank) (+ digit) 708 (when (looking-at (rx "EMFILE" (+ blank) (+ digit)
707 (+ blank) (group (+ nonl)))) 709 (+ blank) (group (+ nonl))))