diff options
-rw-r--r-- | test/src/editfns-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
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) |