Skip to content

Commit 196da30

Browse files
committed
Minor fix in tramp-test32-shell-command
* test/lisp/net/tramp-tests.el (tramp-test32-shell-command): Set `default-directory'.
1 parent 6b00600 commit 196da30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/lisp/net/tramp-tests.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4541,6 +4541,7 @@ INPUT, if non-nil, is a string sent to the process."
45414541
;; but seems to work since Emacs 27.1 only.
45424542
(when (and (tramp--test-sh-p) (tramp--test-emacs27-p))
45434543
(let* ((async-shell-command-width 1024)
4544+
(default-directory tramp-test-temporary-file-directory)
45444545
(cols (ignore-errors
45454546
(read (tramp--test-shell-command-to-string-asynchronously
45464547
"tput cols")))))
@@ -5844,7 +5845,7 @@ Use the `ls' command."
58445845
;; Since Emacs 27.1.
58455846
(skip-unless (fboundp 'file-system-info))
58465847

5847-
;; `file-system-info' exists since Emacs 27. We don't want to see
5848+
;; `file-system-info' exists since Emacs 27.1. We don't want to see
58485849
;; compiler warnings for older Emacsen.
58495850
(let ((fsi (with-no-warnings
58505851
(file-system-info tramp-test-temporary-file-directory))))

0 commit comments

Comments
 (0)