diff options
| author | Michael Albinus | 2016-07-04 15:36:30 +0200 |
|---|---|---|
| committer | Michael Albinus | 2016-07-04 15:36:30 +0200 |
| commit | f24fe30cb8118f8e15688eaf61a6fefde87f597e (patch) | |
| tree | 2f08f491a69ad05bbbffc745c89815b61a8faf24 /test | |
| parent | 05d76dba6604f78e4b2b7b9f8b30c916cad7d32a (diff) | |
| download | emacs-f24fe30cb8118f8e15688eaf61a6fefde87f597e.tar.gz emacs-f24fe30cb8118f8e15688eaf61a6fefde87f597e.zip | |
Add Google Drive support to Tramp
* doc/misc/tramp.texi: Add `gdrive' method.
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.3.1-pre".
* etc/NEWS: Add Tramp connection method "gdrive".
* lisp/net/tramp-gvfs.el (tramp-gvfs-methods) <gdrive>: Add.
(tramp-default-user-alist, tramp-default-host-alist): Add rule
for "gdrive".
(tramp-gvfs-file-attributes): Add "name", remove "standard::icon".
(tramp-gvfs-file-attributes-with-gvfs-ls-regexp): Simplify regexp.
(tramp-gvfs-get-directory-attributes): Improve loop. Use
"standard::display-name" as file name, if available.
(tramp-gvfs-handle-file-name-all-completions): Simplify.
(tramp-gvfs-url-file-name, tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec):
Map between "gdrive" and "google-drive".
* lisp/net/tramp.el (tramp-call-process): Do not signal error.
* test/lisp/net/tramp-tests.el (tramp--instrument-test-case):
Do not enable `tramp-message-show-message'.
(tramp-test13-make-directory, tramp-test14-delete-directory):
Do not specify error type.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index b9562c1befc..fe927bb25fd 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -119,7 +119,6 @@ eval properly in `should', `should-not' or `should-error'. BODY | |||
| 119 | shall not contain a timeout." | 119 | shall not contain a timeout." |
| 120 | (declare (indent 1) (debug (natnump body))) | 120 | (declare (indent 1) (debug (natnump body))) |
| 121 | `(let ((tramp-verbose ,verbose) | 121 | `(let ((tramp-verbose ,verbose) |
| 122 | (tramp-message-show-message t) | ||
| 123 | (tramp-debug-on-error t) | 122 | (tramp-debug-on-error t) |
| 124 | (debug-ignored-errors | 123 | (debug-ignored-errors |
| 125 | (cons "^make-symbolic-link not supported$" debug-ignored-errors))) | 124 | (cons "^make-symbolic-link not supported$" debug-ignored-errors))) |
| @@ -932,7 +931,7 @@ This tests also `file-directory-p' and `file-accessible-directory-p'." | |||
| 932 | (make-directory tmp-name1) | 931 | (make-directory tmp-name1) |
| 933 | (should (file-directory-p tmp-name1)) | 932 | (should (file-directory-p tmp-name1)) |
| 934 | (should (file-accessible-directory-p tmp-name1)) | 933 | (should (file-accessible-directory-p tmp-name1)) |
| 935 | (should-error (make-directory tmp-name2) :type 'file-error) | 934 | (should-error (make-directory tmp-name2)) |
| 936 | (make-directory tmp-name2 'parents) | 935 | (make-directory tmp-name2 'parents) |
| 937 | (should (file-directory-p tmp-name2)) | 936 | (should (file-directory-p tmp-name2)) |
| 938 | (should (file-accessible-directory-p tmp-name2))) | 937 | (should (file-accessible-directory-p tmp-name2))) |
| @@ -953,7 +952,7 @@ This tests also `file-directory-p' and `file-accessible-directory-p'." | |||
| 953 | ;; Delete non-empty directory. | 952 | ;; Delete non-empty directory. |
| 954 | (make-directory tmp-name) | 953 | (make-directory tmp-name) |
| 955 | (write-region "foo" nil (expand-file-name "bla" tmp-name)) | 954 | (write-region "foo" nil (expand-file-name "bla" tmp-name)) |
| 956 | (should-error (delete-directory tmp-name) :type 'file-error) | 955 | (should-error (delete-directory tmp-name)) |
| 957 | (delete-directory tmp-name 'recursive) | 956 | (delete-directory tmp-name 'recursive) |
| 958 | (should-not (file-directory-p tmp-name)))) | 957 | (should-not (file-directory-p tmp-name)))) |
| 959 | 958 | ||