1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 19:42:53 -08:00
emacs/test/lisp/net
Michael Albinus ec5cfaa456 Implement EXCL of write-region for Tramp
* lisp/net/ange-ftp.el (ange-ftp-write-region):
* lisp/net/tramp-adb.el (tramp-adb-handle-write-region)
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
* lisp/net/tramp-sh.el (tramp-sh-handle-write-region)
* lisp/net/tramp-smb.el (tramp-smb-handle-write-region):
Implement MUSTBENEW.

* lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file)
* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
(tramp-sh-handle-add-name-to-file)
(tramp-do-copy-or-rename-file)
* lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
Adapt error message for `file-already-exists'.

* src/lisp.h:
* src/eval.c (call8): New function.

* src/fileio.c (write_region): Pass also lockname and
mustbenew to the file name handler.

* test/lisp/net/tramp-tests.el (tramp-test10-write-region):
Add tests for MUSTBENEW.
2017-08-12 12:30:39 +02:00
..
dbus-tests.el test/*.el: Avoid byte-compiler warnings 2017-01-28 04:40:36 +01:00
gnutls-tests.el Fix the MS-Windows build due to added GnuTLS functions 2017-07-14 22:00:55 +03:00
network-stream-tests.el Further attempt to avoid hang in network-stream-tests 2017-07-21 14:01:12 -04:00
newsticker-tests.el
puny-tests.el Give test files a -tests.el suffix 2017-06-09 15:56:49 +02:00
sasl-scram-rfc-tests.el
shr-tests.el
tramp-tests.el Implement EXCL of write-region for Tramp 2017-08-12 12:30:39 +02:00