1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
emacs/test/lisp
Michael Albinus 009e88e002 Merge with Tramp 2.5.2.3 (Do not merge with master)
* doc/misc/tramp.texi (Archive file names): Explicitly say how to
open an archive with Tramp (Bug#25076).

* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.5.3-pre".

* lisp/net/tramp-adb.el (tramp-adb-handle-process-file)
* lisp/net/tramp-sh.el (tramp-sh-handle-process-file):
* lisp/net/tramp-smb.el (tramp-smb-handle-process-file):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file):
Improve implementation.  (Bug#53854)

* lisp/net/tramp-adb.el (tramp-adb-tolerate-tilde):
* lisp/net/tramp-sshfs.el (tramp-sshfs-tolerate-tilde):
New defuns.  Advice `shell-mode' with them.

* lisp/net/tramp.el (tramp-register-autoload-file-name-handlers):
* lisp/net/tramp-archive.el (tramp-register-archive-file-name-handler):
Check, whether the real file name handler is already registered.
rules.  (Bug#54542)

* lisp/net/tramp.el (tramp-autoload-file-name-handler)
(tramp-register-autoload-file-name-handlers)
(tramp-unload-file-name-handlers, tramp-unload-tramp):
* lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-regexp)
(tramp-archive-autoload-file-name-handler)
(tramp-register-archive-file-name-handler):
Add `tramp-autoload' property.

* lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist):
* lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist):
* lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist):
Use `tramp-handle-file-notify-add-watch',
`tramp-handle-file-notify-rm-watch' and
`tramp-handle-file-notify-valid-p'.

* lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist):
Use `tramp-handle-insert-file-contents'.

* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
* lisp/net/lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
* tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection): Do not
set "lock-pid" connection-property.
(tramp-sudoedit-handle-delete-file): Use "rm -f".

* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-executable-p):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-executable-p):
Check also for setuid/setgid bit.
(tramp-gvfs-handle-expand-file-name):
Respect `tramp-tolerate-tilde'.

* lisp/net/tramp-sh.el (tramp-sh-handle-insert-directory):
* lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
Do not modify disk space information when
`dired--insert-disk-space' is available.  (Bug#54512)

* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Extend suppression
(tramp-get-remote-dev-tty): New defun.
(tramp-sh-handle-make-process): Use it.

* lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>:
Add "-t -t" to `tramp-login-args'.
Add "-o dir_cache=no" to `tramp-mount-args'.  (Bug#54126)
Add "-o transform_symlinks" to `tramp-mount-args'.
(tramp-sshfs-file-name-handler-alist):
Use `tramp-sshfs-handle-file-writable-p'.
(tramp-sshfs-handle-file-writable-p): New defun.  (Bug#54130)
(tramp-sshfs-handle-write-region): Set file modification time.
(Bug#54016)
(tramp-sshfs-file-name-handler-alist):
Use `tramp-sshfs-handle-set-file-times'.
(tramp-sshfs-handle-set-file-times): New defun.

* test/lisp/net/tramp-tests.el (tramp--test-expensive-test-p):
Rename from `tramp--test-expensive-test'.  Make it a defun.  Adapt
all callees.
(tramp-test07-file-exists-p, tramp-test14-delete-directory)
(tramp-test18-file-attributes, tramp-test20-file-modes)
(tramp-test28-process-file, tramp-test29-start-file-process)
(tramp-test30-make-process, tramp-test32-shell-command)
(tramp-test33-environment-variables, tramp--test-check-files)
(tramp--test-special-characters, tramp-test46-unload): Adapt tests.
(tramp-test39-detect-external-change): New test.
(tramp-test29-start-file-process)
(tramp--test--deftest-direct-async-process)
(tramp-test30-make-process, tramp-test31-interrupt-process)
(tramp-test34-explicit-shell-file-name)
(tramp-test44-asynchronous-requests):
Add :tramp-asynchronous-processes tag.
(tramp--test-asynchronous-processes-p): New defun.
(tramp--test-hpux-p, tramp--test-macos-p): Protect against errors.
2022-04-07 11:17:52 +02:00
..
align-resources Add some tests for align.el 2020-12-29 08:38:25 +01:00
bookmark-resources Add ability to mark/unmark/delete all bookmarks 2020-08-09 15:13:05 -05:00
calc ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
calendar ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cedet Fix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431) 2022-01-12 09:08:33 +01:00
custom-resources Avoid saving session customizations in the custom-file 2021-05-10 13:33:32 +02:00
emacs-lisp Fix copyright-find-copyright when searching from the end 2022-01-26 15:03:56 +01:00
emulation ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
epg-resources Move epg.el test data to follow our conventions 2020-10-24 02:36:55 +02:00
erc ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eshell Partially revert b03f74e0f2 2022-03-01 15:01:16 +02:00
faces-resources ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
files-resources Make the test for auto-mode-alist from .dir-local.el stricter 2021-07-24 11:16:15 +02:00
gnus ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
hfy-cmap-resources * test/lisp/hfy-cmap-resources/rgb.txt: Add comment line. 2020-11-12 03:20:39 +01:00
image ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
international ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mail ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mh-e ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
minibuffer-resources Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
net Merge with Tramp 2.5.2.3 (Do not merge with master) 2022-04-07 11:17:52 +02:00
nxml ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
obsolete ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
org ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
pcmpl-linux-resources Use lexical-binding in pcmpl-linux.el and add tests 2020-09-02 12:53:02 +02:00
play ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
progmodes Don't fail flymake-tests if gcc actually is Clang 2022-01-12 09:08:33 +01:00
saveplace-resources Use lexical-binding in saveplace.el and add tests 2020-08-08 01:40:38 +02:00
so-long-tests ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
term ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
textmodes Partially revert a fill-region-as-paragraph regression 2022-01-26 16:20:05 +01:00
time-resources Add missed file needed by time-tests.el 2020-10-22 18:51:00 +02:00
url ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
vc ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xdg-resources Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
abbrev-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
align-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
allout-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
allout-widgets-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ansi-color-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
apropos-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
arc-mode-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
auth-source-pass-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
auth-source-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
autoinsert-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
autorevert-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
battery-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
bookmark-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
buff-menu-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
button-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
calculator-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
char-fold-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
color-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
comint-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
completion-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
cus-edit-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
custom-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dabbrev-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
delim-col-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
descr-text-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dired-aux-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dired-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dired-x-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
dom-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
electric-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
elide-head-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
epg-config-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
epg-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
faces-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ffap-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
filenotify-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
files-tests.el (save-some-buffers): Simplify the fix for bug#46374 2022-01-09 22:17:45 -05:00
files-x-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
find-cmd-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
font-lock-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
format-spec-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
help-fns-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
help-mode-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
help-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
hfy-cmap-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
hi-lock-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
htmlfontify-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ibuffer-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ido-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
image-file-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
image-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
imenu-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
info-xref-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
isearch-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
jit-lock-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
json-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
jsonrpc-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
kmacro-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
loadhist-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lpr-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ls-lisp-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
makesum-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
man-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
md4-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
minibuffer-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
misc-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mouse-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
mwheel-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
newcomment-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
obarray-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
paren-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
password-cache-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
pcmpl-linux-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ps-print-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
register-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
repeat-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
replace-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
rot13-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
saveplace-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
scroll-lock-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ses-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
shadowfile-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
shell-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
simple-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
sort-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
soundex-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
startup-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
subr-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tab-bar-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tabify-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tar-mode-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
tempo-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
term-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thingatpt-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thread-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
thumbs-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
time-stamp-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
time-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
timezone-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
version-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
wdired-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
whitespace-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
wid-edit-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xdg-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xml-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
xt-mouse-tests.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00