emacs-diffs
[Top][All Lists]
Advanced

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

master 196da30 3/3: Minor fix in tramp-test32-shell-command


From: Michael Albinus
Subject: master 196da30 3/3: Minor fix in tramp-test32-shell-command
Date: Wed, 5 Feb 2020 05:41:23 -0500 (EST)

branch: master
commit 196da3017bc9b2fc6fecff0c0ce560e6c46b8a72
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Minor fix in tramp-test32-shell-command
    
    * test/lisp/net/tramp-tests.el (tramp-test32-shell-command):
    Set `default-directory'.
---
 test/lisp/net/tramp-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 08f5c60..a47c60c 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -4541,6 +4541,7 @@ INPUT, if non-nil, is a string sent to the process."
   ;; but seems to work since Emacs 27.1 only.
   (when (and (tramp--test-sh-p) (tramp--test-emacs27-p))
     (let* ((async-shell-command-width 1024)
+          (default-directory tramp-test-temporary-file-directory)
           (cols (ignore-errors
                   (read (tramp--test-shell-command-to-string-asynchronously
                          "tput cols")))))
@@ -5844,7 +5845,7 @@ Use the `ls' command."
   ;; Since Emacs 27.1.
   (skip-unless (fboundp 'file-system-info))
 
-  ;; `file-system-info' exists since Emacs 27.  We don't want to see
+  ;; `file-system-info' exists since Emacs 27.1.  We don't want to see
   ;; compiler warnings for older Emacsen.
   (let ((fsi (with-no-warnings
               (file-system-info tramp-test-temporary-file-directory))))



reply via email to

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