Commit 741c02d5 authored by Michael Albinus's avatar Michael Albinus

; Further tramp-tests instrumentation

parent ec9f42bc
Pipeline #597 failed with stage
in 49 minutes and 38 seconds
......@@ -2278,10 +2278,10 @@ This checks also `file-name-as-directory', `file-name-directory',
(with-temp-buffer
(insert-file-contents target)
(should (string-equal (buffer-string) "foo")))
(when (tramp--test-expensive-test)
(should-error
(copy-file source target)
:type 'file-already-exists))
;; (when (tramp--test-expensive-test)
;; (should-error
;; (copy-file source target)
;; :type 'file-already-exists))
(copy-file source target 'ok))
;; Cleanup.
......@@ -2297,11 +2297,11 @@ This checks also `file-name-as-directory', `file-name-directory',
(should (file-exists-p source))
(make-directory target)
(should (file-directory-p target))
;; This has been changed in Emacs 26.1.
(when (and (tramp--test-expensive-test) (tramp--test-emacs26-p))
(should-error
(copy-file source target)
:type 'file-already-exists))
;; ;; This has been changed in Emacs 26.1.
;; (when (and (tramp--test-expensive-test) (tramp--test-emacs26-p))
;; (should-error
;; (copy-file source target)
;; :type 'file-already-exists))
(copy-file source (file-name-as-directory target))
(should
(file-exists-p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment