mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
; * test/src/editfns-tests.el (test-group-name): Ignore getent errors.
This commit is contained in:
parent
c30f24d03d
commit
a004d3bbba
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue