From: Glenn Morris Date: Sun, 11 Nov 2018 03:15:59 +0000 (-0800) Subject: ; * test/src/editfns-tests.el (test-group-name): Ignore getent errors. X-Git-Tag: emacs-27.0.90~4185 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a004d3bbbae6abb033ed7d244252d04911f5c6fd;p=emacs.git ; * test/src/editfns-tests.el (test-group-name): Ignore getent errors. --- diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el index 09584d1694a..66375a64333 100644 --- a/test/src/editfns-tests.el +++ b/test/src/editfns-tests.el @@ -362,8 +362,9 @@ (let (stat name) (dolist (gid (list 0 1212345 (group-gid))) (erase-buffer) - (setq stat (call-process "getent" nil '(t nil) nil "group" - (number-to-string gid))) + (setq stat (ignore-errors + (call-process "getent" nil '(t nil) nil "group" + (number-to-string gid)))) (setq name (group-name gid)) (goto-char (point-min)) (cond ((eq stat 0)