aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2018-11-10 19:15:59 -0800
committerGlenn Morris2018-11-10 19:15:59 -0800
commita004d3bbbae6abb033ed7d244252d04911f5c6fd (patch)
tree97e3a0b2de57e8974d9e9eec74fb9540f474b974 /test
parentc30f24d03dbdc730bc4c8fbc0e1309830e8c9767 (diff)
downloademacs-a004d3bbbae6abb033ed7d244252d04911f5c6fd.tar.gz
emacs-a004d3bbbae6abb033ed7d244252d04911f5c6fd.zip
; * test/src/editfns-tests.el (test-group-name): Ignore getent errors.
Diffstat (limited to 'test')
-rw-r--r--test/src/editfns-tests.el5
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 @@
362 (let (stat name) 362 (let (stat name)
363 (dolist (gid (list 0 1212345 (group-gid))) 363 (dolist (gid (list 0 1212345 (group-gid)))
364 (erase-buffer) 364 (erase-buffer)
365 (setq stat (call-process "getent" nil '(t nil) nil "group" 365 (setq stat (ignore-errors
366 (number-to-string gid))) 366 (call-process "getent" nil '(t nil) nil "group"
367 (number-to-string gid))))
367 (setq name (group-name gid)) 368 (setq name (group-name gid))
368 (goto-char (point-min)) 369 (goto-char (point-min))
369 (cond ((eq stat 0) 370 (cond ((eq stat 0)