[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f41bcae: ; * test/lisp/net/tramp-tests.el (tramp-te
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master f41bcae: ; * test/lisp/net/tramp-tests.el (tramp-test24-file-acl): |
Date: |
Sun, 19 Nov 2017 06:18:49 -0500 (EST) |
branch: master
commit f41bcae3e55c4510e9f0f303962f04186f7ebdef
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
; * test/lisp/net/tramp-tests.el (tramp-test24-file-acl):
Remove test instrumentation.
---
test/lisp/net/tramp-tests.el | 25 +++----------------------
1 file changed, 3 insertions(+), 22 deletions(-)
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 1ad286b..8073552 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -2968,47 +2968,28 @@ This tests also `make-symbolic-link', `file-truename'
and `add-name-to-file'."
(should (file-acl tmp-name1))
(copy-file tmp-name1 tmp-name3 nil nil nil 'preserve-permissions)
(should (file-acl tmp-name3))
- (tramp--test-message
- "tmp-name1:\n%stmp-name3:\n%s"
- (file-acl tmp-name1) (file-acl tmp-name3))
(should (string-equal (file-acl tmp-name1) (file-acl tmp-name3)))
;; Different permissions mean different ACLs.
(set-file-modes tmp-name1 #o777)
(set-file-modes tmp-name3 #o444)
- (tramp--test-message
- "tmp-name1:\n%stmp-name3:\n%s"
- (file-acl tmp-name1) (file-acl tmp-name3))
(should-not
(string-equal (file-acl tmp-name1) (file-acl tmp-name3)))
- ;; Copy ACL. Since we don't know whether Emacs is built
- ;; with local ACL support, we must check it.
- (when (set-file-acl tmp-name3 (file-acl tmp-name1))
- (tramp--test-message
- "tmp-name1:\n%stmp-name3:\n%s"
- (file-acl tmp-name1) (file-acl tmp-name3))
- (should (string-equal (file-acl tmp-name1) (file-acl tmp-name3))))
+ ;; Copy ACL.
+ (file-acl tmp-name1) (file-acl tmp-name3)
+ (should (string-equal (file-acl tmp-name1) (file-acl tmp-name3))))
;; Two files with same ACLs.
(delete-file tmp-name1)
(copy-file tmp-name3 tmp-name1 nil nil nil 'preserve-permissions)
(should (file-acl tmp-name1))
- (tramp--test-message
- "tmp-name1:\n%stmp-name3:\n%s"
- (file-acl tmp-name1) (file-acl tmp-name3))
(should (string-equal (file-acl tmp-name1) (file-acl tmp-name3)))
;; Different permissions mean different ACLs.
(set-file-modes tmp-name1 #o777)
(set-file-modes tmp-name3 #o444)
- (tramp--test-message
- "tmp-name1:\n%stmp-name3:\n%s"
- (file-acl tmp-name1) (file-acl tmp-name3))
(should-not
(string-equal (file-acl tmp-name1) (file-acl tmp-name3)))
;; Copy ACL.
(set-file-acl tmp-name1 (file-acl tmp-name3))
- (tramp--test-message
- "tmp-name1:\n%stmp-name3:\n%s"
- (file-acl tmp-name1) (file-acl tmp-name3))
(should (string-equal (file-acl tmp-name1) (file-acl tmp-name3))))
;; Cleanup.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master f41bcae: ; * test/lisp/net/tramp-tests.el (tramp-test24-file-acl):,
Michael Albinus <=