mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
archive-int-to-mode: Fix order of testing S_ISUID, S_ISGID bits
* lisp/arc-mode.el (archive-int-to-mode): Swap order of 2048 and 1024 tests (Bug#28092). * test/lisp/arc-mode-tests.el (arc-mode-test-archive-int-to-mode): Update test.
This commit is contained in:
parent
97460582e2
commit
66b75d3f20
2 changed files with 6 additions and 5 deletions
|
|
@ -27,7 +27,8 @@
|
|||
(cons 420 "-rw-r--r--")
|
||||
(cons 292 "-r--r--r--")
|
||||
(cons 512 "----------")
|
||||
(cons 1024 "---S------"))))
|
||||
(cons 1024 "------S---") ; Bug#28092
|
||||
(cons 2048 "---S------"))))
|
||||
(dolist (x alist)
|
||||
(should (equal (cdr x) (archive-int-to-mode (car x)))))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue