diff options
| author | Michael Albinus | 2019-04-17 14:19:42 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-04-17 14:19:42 +0200 |
| commit | 314c2aa7c4ad813522f6a1bf2e052981dc8a80c2 (patch) | |
| tree | dfcfea4c43143845f62e6258b2fa94b37daecaa8 | |
| parent | 2c06731dca42ee4f10484a6c72b3528e14c548d7 (diff) | |
| download | emacs-314c2aa7c4ad813522f6a1bf2e052981dc8a80c2.tar.gz emacs-314c2aa7c4ad813522f6a1bf2e052981dc8a80c2.zip | |
; Instrument tramp-test32-shell-command for EMBA
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 64eb1ddefd8..24eb7d6f0bf 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -4188,6 +4188,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 4188 | ;; Test `shell-command-width' of `async-shell-command'. | 4188 | ;; Test `shell-command-width' of `async-shell-command'. |
| 4189 | (when (tramp--test-sh-p) | 4189 | (when (tramp--test-sh-p) |
| 4190 | (let (shell-command-width) | 4190 | (let (shell-command-width) |
| 4191 | (tramp--test-message "Hallo1 %s" (ignore-errors (car (process-lines "tput" "cols")))) | ||
| 4192 | (tramp--test-message "Hallo2 %s" (ignore-errors (tramp--test-shell-command-to-string-asynchronously "tput cols"))) | ||
| 4191 | (should | 4193 | (should |
| 4192 | (string-equal | 4194 | (string-equal |
| 4193 | ;; `frame-width' does not return a proper value. | 4195 | ;; `frame-width' does not return a proper value. |
| @@ -4197,6 +4199,7 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 4197 | (tramp--test-shell-command-to-string-asynchronously | 4199 | (tramp--test-shell-command-to-string-asynchronously |
| 4198 | "tput cols"))) | 4200 | "tput cols"))) |
| 4199 | (setq shell-command-width 1024) | 4201 | (setq shell-command-width 1024) |
| 4202 | (tramp--test-message "Hallo3 %s" (ignore-errors (tramp--test-shell-command-to-string-asynchronously "tput cols"))) | ||
| 4200 | (should | 4203 | (should |
| 4201 | (string-equal | 4204 | (string-equal |
| 4202 | "1024\n" | 4205 | "1024\n" |