1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -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 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calendar Update copyright year to 2018 2018-01-01 00:57:59 -08:00
emacs-lisp ; * test/lisp/emacs-lisp/cl-preloaded-tests.el: Fix copyright notice. 2018-01-28 18:07:03 -08:00
emulation Update copyright year to 2018 2018-01-01 00:57:59 -08:00
erc Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eshell Update copyright year to 2018 2018-01-01 00:57:59 -08:00
gnus Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
international Update copyright year to 2018 2018-01-01 00:57:59 -08:00
mail Update copyright year to 2018 2018-01-01 00:57:59 -08:00
net Prevent loading tramp-archive when it cannot be used 2018-02-03 18:49:56 +01:00
progmodes Update copyright year to 2018 2018-01-01 00:57:59 -08:00
textmodes Shorten CSS hex colors when possible 2018-01-28 15:38:27 +01:00
url Load mm-util as needed for url-file and url-data (Bug#30258) 2018-01-26 19:50:57 -05:00
vc Add some test skip conditions 2018-01-17 13:41:07 -05:00
abbrev-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
arc-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
auth-source-pass-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
auth-source-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
autorevert-tests.el Use file notification in autorevert also for recreated files 2018-01-20 16:26:02 +01:00
buff-menu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
char-fold-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
color-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
comint-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dabbrev-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
descr-text-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dired-aux-tests.el New function read-answer (bug#30073) 2018-01-21 23:45:43 +02:00
dired-tests.el New function read-answer (bug#30073) 2018-01-21 23:45:43 +02:00
dired-x-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
dom-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
electric-tests.el Ignore escape characters for context-sensitive quotes (Bug#29812) 2018-01-07 13:52:59 +01:00
epg-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
faces-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ffap-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
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 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
help-fns-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
hi-lock-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
htmlfontify-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
ibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ido-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
imenu-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
info-xref-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
isearch-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
jit-lock-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
json-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
kmacro-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ls-lisp-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
man-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
md4-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
minibuffer-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
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 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ps-print-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
register-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
replace-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rot13-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ses-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
shell-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
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 Update copyright year to 2018 2018-01-01 00:57:59 -08:00
soundex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
subr-tests.el Code refactoring assoc-delete-all assq-delete-all 2018-01-28 13:05:54 +09:00
tar-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
term-tests.el ; Avoid process kill query during term tests 2018-02-02 18:08:50 -05:00
thingatpt-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
whitespace-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xdg-tests.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
xml-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
xt-mouse-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00