diff options
| author | Michael Albinus | 2023-11-17 18:17:28 +0100 |
|---|---|---|
| committer | Michael Albinus | 2023-11-17 18:17:28 +0100 |
| commit | 8d2012024ded3fd13a4a86ac2d53dee57957fe1b (patch) | |
| tree | 72d1f7aad4077414ea65cacfbd915f044ff66296 /test | |
| parent | 7b0e07c41ae92d4cb139b1c47ce9debc37cfffcb (diff) | |
| download | emacs-8d2012024ded3fd13a4a86ac2d53dee57957fe1b.tar.gz emacs-8d2012024ded3fd13a4a86ac2d53dee57957fe1b.zip | |
* test/lisp/net/tramp-tests.el (tramp--test-timeout-handler): Be more verbose.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index e74837b926a..7854466b819 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -4844,6 +4844,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 4844 | (if (tramp--test-expensive-test-p) | 4844 | (if (tramp--test-expensive-test-p) |
| 4845 | ;; It doesn't work for `initials' and `shorthand' | 4845 | ;; It doesn't work for `initials' and `shorthand' |
| 4846 | ;; completion styles. Should it? | 4846 | ;; completion styles. Should it? |
| 4847 | ;; `orderless' passes the tests, but it is an ELPA package. | ||
| 4847 | '(emacs21 emacs22 basic partial-completion substring flex) | 4848 | '(emacs21 emacs22 basic partial-completion substring flex) |
| 4848 | '(basic))) | 4849 | '(basic))) |
| 4849 | 4850 | ||
| @@ -5154,10 +5155,11 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 5154 | (defun tramp--test-timeout-handler (&rest _ignore) | 5155 | (defun tramp--test-timeout-handler (&rest _ignore) |
| 5155 | "Timeout handler, reporting a failed test." | 5156 | "Timeout handler, reporting a failed test." |
| 5156 | (interactive) | 5157 | (interactive) |
| 5157 | (let ((proc (get-buffer-process (current-buffer)))) | 5158 | (tramp--test-message "proc: %s" (get-buffer-process (current-buffer))) |
| 5158 | (when (processp proc) | 5159 | (when-let ((proc (get-buffer-process (current-buffer))) |
| 5159 | (tramp--test-message | 5160 | ((processp proc))) |
| 5160 | "cmd: %s\nbuf:\n%s\n---" (process-command proc) (buffer-string)))) | 5161 | (tramp--test-message "cmd: %s" (process-command proc))) |
| 5162 | (tramp--test-message "buf: %s\n%s\n---" (current-buffer) (buffer-string)) | ||
| 5161 | (ert-fail (format "`%s' timed out" (ert-test-name (ert-running-test))))) | 5163 | (ert-fail (format "`%s' timed out" (ert-test-name (ert-running-test))))) |
| 5162 | 5164 | ||
| 5163 | (ert-deftest tramp-test29-start-file-process () | 5165 | (ert-deftest tramp-test29-start-file-process () |