aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/net/tramp-tests.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index bfc62049ccd..491ff60e3e8 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -2983,9 +2983,10 @@ 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 (file-acl tmp-name1) (file-acl tmp-name3) 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 (should (string-equal (file-acl tmp-name1) (file-acl tmp-name3))))
2989 2990
2990 ;; Two files with same ACLs. 2991 ;; Two files with same ACLs.
2991 (delete-file tmp-name1) 2992 (delete-file tmp-name1)