]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/src/editfns-tests.el (test-group-name): Ignore getent errors.
authorGlenn Morris <rgm@gnu.org>
Sun, 11 Nov 2018 03:15:59 +0000 (19:15 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 11 Nov 2018 03:15:59 +0000 (19:15 -0800)
test/src/editfns-tests.el

index 09584d1694a878cef66c55a5ba02dbb42ce953a0..66375a643339d7edd7a6b256293824c74a766863 100644 (file)
       (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)