emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 fc4379f: Minor cleanup of tramp-tests.el on MS Windows


From: Michael Albinus
Subject: emacs-27 fc4379f: Minor cleanup of tramp-tests.el on MS Windows
Date: Wed, 25 Nov 2020 03:41:28 -0500 (EST)

branch: emacs-27
commit fc4379f1aedd6b1ebae722b967a7e6feb30fa2a6
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    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.
---
 test/lisp/net/tramp-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index cc65421..e42765b 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'."
              (setq proc (start-file-process "test4" (current-buffer) nil))
              (should (processp proc))
              (should (equal (process-status proc) 'run))
-             (should (stringp (process-tty-name proc)))))
+             ;; On MS Windows, `process-tty-name' returns nil.
+             (unless (tramp--test-windows-nt)
+               (should (stringp (process-tty-name proc))))))
 
        ;; Cleanup.
        (ignore-errors (delete-process proc))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]