1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-28 10:51:29 -08:00
emacs/test/lisp
Michael Albinus a2cb52cd2e Prevent loading tramp-archive when it cannot be used
* lisp/files.el (locate-dominating-file): Check, that FILE is
a directory when traversing the tree.

* lisp/net/tramp-archive.el (tramp-archive-enabled): New defvar.
(tramp-archive-file-name-regexp): Protect against errors.
(tramp-archive-file-name-handler)
(tramp-register-archive-file-name-handler): Use it.
(all) Call `tramp-register-archive-file-name-handler'.

* lisp/net/tramp.el (tramp-register-file-name-handlers):
Use `tramp-archive-enabled'.

* test/lisp/net/tramp-archive-tests.el (all):
Use `tramp-archive-enabled' instead of `tramp-gvfs-enabled'.
(tramp-archive--test-emacs27-p): New defun.
(tramp-archive-test42-auto-load): Skip for older Emacsen.
(tramp-archive-test42-delay-load): Skip for older Emacsen.
Test also behavior when `tramp-archive-enabled' is nil.
2018-02-03 18:49:56 +01:00
..
calc
calendar
emacs-lisp ; * test/lisp/emacs-lisp/cl-preloaded-tests.el: Fix copyright notice. 2018-01-28 18:07:03 -08:00
emulation
erc
eshell Update copyright year to 2018 2018-01-01 00:57:59 -08:00
gnus
international
mail
net Prevent loading tramp-archive when it cannot be used 2018-02-03 18:49:56 +01:00
progmodes
textmodes
url
vc
abbrev-tests.el
arc-mode-tests.el
auth-source-pass-tests.el
auth-source-tests.el
autorevert-tests.el
buff-menu-tests.el
char-fold-tests.el
color-tests.el
comint-tests.el
dabbrev-tests.el
descr-text-tests.el
dired-aux-tests.el
dired-tests.el
dired-x-tests.el
dom-tests.el
electric-tests.el
epg-tests.el
faces-tests.el
ffap-tests.el
filenotify-tests.el Handle quoted remote file names for file notifications 2018-02-02 18:51:25 +01:00
files-tests.el ; Merge from emacs-26 2018-02-02 18:12:37 -05:00
files-x-tests.el
help-fns-tests.el
hi-lock-tests.el
htmlfontify-tests.el
ibuffer-tests.el
ido-tests.el
imenu-tests.el
info-xref-tests.el
isearch-tests.el
jit-lock-tests.el
json-tests.el
kmacro-tests.el
ls-lisp-tests.el
man-tests.el
md4-tests.el
minibuffer-tests.el
mouse-tests.el * test/lisp/mouse-tests.el: Fix tests broken by mouse.el change 2018-01-30 17:37:20 -05:00
obarray-tests.el
ps-print-tests.el
register-tests.el
replace-tests.el
rot13-tests.el
ses-tests.el
shell-tests.el
simple-tests.el * test/lisp/simple-tests.el (simple-tests-async-shell-command-30280): Add test 2018-01-29 22:31:50 +09:00
sort-tests.el
soundex-tests.el
subr-tests.el
tar-mode-tests.el
term-tests.el ; Avoid process kill query during term tests 2018-02-02 18:08:50 -05:00
thingatpt-tests.el
whitespace-tests.el
xdg-tests.el
xml-tests.el
xt-mouse-tests.el