projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c513f3
)
* test/lisp/net/tramp-tests.el (tramp--test-timeout-handler): Instrument.
author
Michael Albinus
<michael.albinus@gmx.de>
Mon, 29 Apr 2019 15:24:53 +0000
(17:24 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Mon, 29 Apr 2019 15:24:53 +0000
(17:24 +0200)
test/lisp/net/tramp-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/net/tramp-tests.el
b/test/lisp/net/tramp-tests.el
index 4495a1fce4250cd631fbb467438f53688d033f63..cba697da18c1f744e8b338802cbe892dca425c1d 100644
(file)
--- a/
test/lisp/net/tramp-tests.el
+++ b/
test/lisp/net/tramp-tests.el
@@
-3846,6
+3846,10
@@
This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
(defun tramp--test-timeout-handler (&rest _ignore)
"Timeout handler, reporting a failed test."
(interactive)
+ (let ((proc (get-buffer-process (current-buffer))))
+ (when (processp proc)
+ (tramp--test-message
+ "cmd: %s\n%s" (process-command proc) (buffer-string))))
(ert-fail (format "`%s' timed out" (ert-test-name (ert-running-test)))))
(ert-deftest tramp-test29-start-file-process ()