1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/test/lisp/net
Michael Albinus 6536112bdc Handle sensitive auto-save or backup remote files (Bug#45245)
* doc/misc/tramp.texi (Auto-save and Backup):
Describe tramp-allow-unsafe-temporary-files.
(Ad-hoc multi-hops): Use proper format.

* etc/NEWS: Mention confirmation for writing sensitive auto-save
or backup remote files to the local temporary directory..

* lisp/net/tramp-cache.el (tramp-dump-connection-properties):
Strengthen test.

* lisp/net/tramp.el (tramp-allow-unsafe-temporary-files): New defcustom.
(tramp-handle-find-backup-file-name)
(tramp-handle-make-auto-save-file-name): Don't expose sensible
auto-save or backup files on local temporary directory.  (Bug#45245)

* test/lisp/net/tramp-tests.el (tramp--test-always): New defalias.
(tramp-test10-write-region, tramp-test21-file-links)
(tramp--test--deftest-direct-async-process): Use it.
(tramp-test37-make-auto-save-file-name)
(tramp-test38-find-backup-file-name): Extend tests.
2021-06-14 11:25:13 +02:00
..
dbus-resources Add D-Bus introspection tests 2020-09-30 11:19:41 +02:00
mailcap-resources Move some test data to follow our conventions 2020-10-23 16:29:46 +02:00
netrc-resources Use lexical-binding in netrc.el and add tests 2020-10-28 03:24:18 +01:00
network-stream-resources Move more test data to follow our conventions 2020-10-23 21:07:26 +02:00
ntlm-resources Implement NTLM server for ntlm.el testing 2021-02-18 18:59:18 -05:00
shr-resources Move shr.el test data to follow our conventions 2020-10-24 02:29:04 +02:00
tramp-archive-resources
browse-url-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dbus-tests.el Add command 'dbus-monitor' 2021-02-05 14:32:41 +01:00
dig-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gnutls-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
hmac-md5-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
mailcap-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
netrc-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
network-stream-tests.el Re-enable network-stream-tests.el :nowait t tests 2021-02-25 16:44:43 +01:00
newsticker-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nsm-tests.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
ntlm-tests.el ntlm-tests: Remove missing dependency warnings 2021-02-19 17:11:42 -05:00
puny-tests.el Fix Bootstring skew parameter in puny.el 2021-03-01 14:05:36 +01:00
rcirc-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rfc2104-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sasl-cram-tests.el Use lexical-binding in sasl.el and add tests 2021-01-29 20:11:38 +01:00
sasl-scram-rfc-tests.el ; Minor license statement fixes 2021-02-08 09:10:57 +01:00
sasl-tests.el Use lexical-binding in sasl.el and add tests 2021-01-29 20:11:38 +01:00
secrets-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
shr-tests.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
socks-tests.el Mute noisy test fixture for socks.el 2021-02-20 17:15:44 +02:00
tramp-archive-tests.el Fix bug#48476 2021-05-22 17:51:07 +02:00
tramp-tests.el Handle sensitive auto-save or backup remote files (Bug#45245) 2021-06-14 11:25:13 +02:00
webjump-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00