summaryrefslogtreecommitdiff
path: root/test/lisp/wdired-tests.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2019-06-25 22:04:13 -0400
committerNoam Postavsky <npostavs@gmail.com>2019-06-25 22:04:13 -0400
commit9552ee4df7d2ceebb8728a61d00598aa981b580c (patch)
tree5bd393a52f3f1b0510ff77fb2bd38e4a2c00ad8c /test/lisp/wdired-tests.el
parentc7a59d87b5726725cffa51a1f432f0961548dbe3 (diff)
parente62ad04963982ea9cc7622b32484778845bc2ec1 (diff)
downloademacs-9552ee4df7d2ceebb8728a61d00598aa981b580c.tar.gz
Merge from emacs-26
e62ad04963 Fix sgml-mode handling of quotes within parens (Bug#36347) 06b35b2f92 ; * lisp/frame.el: Enhance add-variable-watcher commentary. 572e34bb6f Rename 'make-symbolic-link' argument NEWNAME to LINKNAME 04477adedc Check that length of data returned by sysctl is non-zero 81535eeadb * test/lisp/progmodes/python-tests.el (python-virt-bin): D... 9d48979ca8 Fix Python tests depending on system-type fcf6cc3177 Fix problem with wdired test when symlinks cannot be created. 4701e0663e Improve wording of documentation of click events # Conflicts: # lisp/textmodes/sgml-mode.el # test/lisp/textmodes/sgml-mode-tests.el
Diffstat (limited to 'test/lisp/wdired-tests.el')
-rw-r--r--test/lisp/wdired-tests.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lisp/wdired-tests.el b/test/lisp/wdired-tests.el
index 9682843db29..6db2e03e752 100644
--- a/test/lisp/wdired-tests.el
+++ b/test/lisp/wdired-tests.el
@@ -86,7 +86,11 @@ only the name before the link arrow."
(let ((buf (find-file-noselect test-dir)))
(unwind-protect
(with-current-buffer buf
- (make-symbolic-link "./bar/baz" link-name)
+ (skip-unless
+ ;; This check is for wdired, not symbolic links, so skip
+ ;; it when make-symbolic-link fails for any reason (like
+ ;; insufficient privileges).
+ (ignore-errors (make-symbolic-link "./bar/baz" link-name) t))
(revert-buffer)
(let* ((file-name (dired-get-filename))
(dir-part (file-name-directory file-name))