diff options
| author | Michael Albinus | 2022-12-30 09:26:56 +0100 |
|---|---|---|
| committer | Michael Albinus | 2022-12-30 09:26:56 +0100 |
| commit | 39265abf0ccdfa9a91dbe42f1e0a26e64cd50835 (patch) | |
| tree | 73a94895a355e1521040002a96f0c45638edfeaf /test | |
| parent | ebf65c7e7e3872685e5c58e0618ed33ea570520f (diff) | |
| download | emacs-39265abf0ccdfa9a91dbe42f1e0a26e64cd50835.tar.gz emacs-39265abf0ccdfa9a91dbe42f1e0a26e64cd50835.zip | |
* test/lisp/net/tramp-tests.el (tramp-test32-shell-command): Fix test.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 79b2fc803d6..8d63bb3de9b 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -5503,15 +5503,11 @@ INPUT, if non-nil, is a string sent to the process." | |||
| 5503 | ;; String to be sent. | 5503 | ;; String to be sent. |
| 5504 | (format "%s\n" (file-name-nondirectory tmp-name))) | 5504 | (format "%s\n" (file-name-nondirectory tmp-name))) |
| 5505 | (should | 5505 | (should |
| 5506 | (string-equal | 5506 | (string-match-p |
| 5507 | ;; tramp-adb.el echoes, so we must add the string. | 5507 | ;; Some shells echo, for example the "adb" or "docker" methods. |
| 5508 | (if (and (tramp--test-adb-p) | 5508 | (tramp-compat-rx |
| 5509 | (not (tramp-direct-async-process-p))) | 5509 | bos (** 1 2 (literal (file-name-nondirectory tmp-name)) "\n") |
| 5510 | (format | 5510 | eos) |
| 5511 | "%s\n%s\n" | ||
| 5512 | (file-name-nondirectory tmp-name) | ||
| 5513 | (file-name-nondirectory tmp-name)) | ||
| 5514 | (format "%s\n" (file-name-nondirectory tmp-name))) | ||
| 5515 | (buffer-string)))) | 5511 | (buffer-string)))) |
| 5516 | 5512 | ||
| 5517 | ;; Cleanup. | 5513 | ;; Cleanup. |