diff options
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 62f72a3f6f6..3d0ed499d54 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -2983,9 +2983,11 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 2983 | (set-file-modes tmp-name3 #o444) | 2983 | (set-file-modes tmp-name3 #o444) |
| 2984 | (should-not | 2984 | (should-not |
| 2985 | (string-equal (file-acl tmp-name1) (file-acl tmp-name3))) | 2985 | (string-equal (file-acl tmp-name1) (file-acl tmp-name3))) |
| 2986 | ;; Copy ACL. | 2986 | ;; Copy ACL. Since we don't know whether Emacs is built |
| 2987 | (set-file-acl tmp-name3 (file-acl tmp-name1)) | 2987 | ;; with local ACL support, we must check it. |
| 2988 | (should (string-equal (file-acl tmp-name1) (file-acl tmp-name3))) | 2988 | (when (set-file-acl tmp-name3 (file-acl tmp-name1)) |
| 2989 | (file-acl tmp-name1) (file-acl tmp-name3)) | ||
| 2990 | (should (string-equal (file-acl tmp-name1) (file-acl tmp-name3)))) | ||
| 2989 | 2991 | ||
| 2990 | ;; Two files with same ACLs. | 2992 | ;; Two files with same ACLs. |
| 2991 | (delete-file tmp-name1) | 2993 | (delete-file tmp-name1) |