aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/net/tramp-tests.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index fe927bb25fd..f1f722b272b 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -115,8 +115,8 @@ being the result.")
115(defmacro tramp--instrument-test-case (verbose &rest body) 115(defmacro tramp--instrument-test-case (verbose &rest body)
116 "Run BODY with `tramp-verbose' equal VERBOSE. 116 "Run BODY with `tramp-verbose' equal VERBOSE.
117Print the the content of the Tramp debug buffer, if BODY does not 117Print the the content of the Tramp debug buffer, if BODY does not
118eval properly in `should', `should-not' or `should-error'. BODY 118eval properly in `should' or `should-not'. `should-error' is not
119shall not contain a timeout." 119handled properly. BODY 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-debug-on-error t) 122 (tramp-debug-on-error t)
@@ -951,7 +951,9 @@ This tests also `file-directory-p' and `file-accessible-directory-p'."
951 (should-not (file-directory-p tmp-name)) 951 (should-not (file-directory-p tmp-name))
952 ;; Delete non-empty directory. 952 ;; Delete non-empty directory.
953 (make-directory tmp-name) 953 (make-directory tmp-name)
954 (should (file-directory-p tmp-name))
954 (write-region "foo" nil (expand-file-name "bla" tmp-name)) 955 (write-region "foo" nil (expand-file-name "bla" tmp-name))
956 (should (file-exists-p (expand-file-name "bla" tmp-name)))
955 (should-error (delete-directory tmp-name)) 957 (should-error (delete-directory tmp-name))
956 (delete-directory tmp-name 'recursive) 958 (delete-directory tmp-name 'recursive)
957 (should-not (file-directory-p tmp-name)))) 959 (should-not (file-directory-p tmp-name))))