diff options
| author | Michael Albinus | 2020-11-25 09:41:11 +0100 |
|---|---|---|
| committer | Michael Albinus | 2020-11-25 09:41:11 +0100 |
| commit | fc4379f1aedd6b1ebae722b967a7e6feb30fa2a6 (patch) | |
| tree | 823b8516a56c0921fc71825f220f856407dcda5e | |
| parent | dea3d6aa18e54f0d8d75cd219b511bac5b3c87b1 (diff) | |
| download | emacs-fc4379f1aedd6b1ebae722b967a7e6feb30fa2a6.tar.gz emacs-fc4379f1aedd6b1ebae722b967a7e6feb30fa2a6.zip | |
Minor cleanup of tramp-tests.el on MS Windows
* test/lisp/net/tramp-tests.el (tramp-test29-start-file-process):
Do not test remote pty on MS Windows.
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index cc65421619d..e42765ba088 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -4289,7 +4289,9 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 4289 | (setq proc (start-file-process "test4" (current-buffer) nil)) | 4289 | (setq proc (start-file-process "test4" (current-buffer) nil)) |
| 4290 | (should (processp proc)) | 4290 | (should (processp proc)) |
| 4291 | (should (equal (process-status proc) 'run)) | 4291 | (should (equal (process-status proc) 'run)) |
| 4292 | (should (stringp (process-tty-name proc))))) | 4292 | ;; On MS Windows, `process-tty-name' returns nil. |
| 4293 | (unless (tramp--test-windows-nt) | ||
| 4294 | (should (stringp (process-tty-name proc)))))) | ||
| 4293 | 4295 | ||
| 4294 | ;; Cleanup. | 4296 | ;; Cleanup. |
| 4295 | (ignore-errors (delete-process proc)))))) | 4297 | (ignore-errors (delete-process proc)))))) |