[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion 18ed1504ce 274/313: Add test cases for TRA
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion 18ed1504ce 274/313: Add test cases for TRAMP shell. |
Date: |
Sat, 3 Dec 2022 10:59:37 -0500 (EST) |
branch: elpa/bash-completion
commit 18ed1504ce9be60c450beb54513c75d7b5e260d9
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>
Add test cases for TRAMP shell.
This change adds some simple test cases to cover TRAMP, using /sg: so
there's no need to setup anything special to login to.
---
test/bash-completion-integration-test.el | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/test/bash-completion-integration-test.el
b/test/bash-completion-integration-test.el
index be9765f5aa..744b1083c6 100644
--- a/test/bash-completion-integration-test.el
+++ b/test/bash-completion-integration-test.el
@@ -538,4 +538,25 @@ $ ")))))
(let ((default-directory "/does-not-exist/"))
(should (equal "ls some/" (bash-completion_test-complete "ls so"))))))
+(ert-deftest bash-completion-integration-tramp-single-process ()
+ (bash-completion_test-harness
+ "" ; .bashrc
+ nil ; use-separate-process
+ (let ((default-directory (concat "/sg:localhost:" default-directory)))
+ (bash-completion_test-with-shell
+ (should (file-remote-p default-directory))
+ (let ((default-directory "/does-not-exist/"))
+ (should (equal "ls some/"
+ (bash-completion_test-complete "ls so"))))))))
+
+(ert-deftest bash-completion-integration-tramp-separate-process ()
+ (bash-completion_test-harness
+ "" ; .bashrc
+ t ; use-separate-process
+ (let ((default-directory (concat "/sg:localhost:" default-directory)))
+ (bash-completion_test-with-shell
+ (should (file-remote-p default-directory))
+ (should (equal "ls some/"
+ (bash-completion_test-complete "ls so")))))))
+
;;; bash-completion-integration-test.el ends here
- [nongnu] elpa/bash-completion c99083233f 241/313: Fix shell-type detection logic for remote processes., (continued)
- [nongnu] elpa/bash-completion c99083233f 241/313: Fix shell-type detection logic for remote processes., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 4a1d89f01e 246/313: Support -o vi and emacs even in single-process mode., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion aec357fbf1 249/313: Test default completion with both value of use-separate-process., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 38c82e5d59 252/313: Conserve quotes even when expanding case-insensitively., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 6a66eeda45 253/313: Add test-case to cover tilde and tilde expansion., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion b9e519e2ad 263/313: Fix typo, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 2684ea9e46 264/313: Fix issue with case-insensitive completion., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 6d74dd30ba 266/313: Avoid interference from PROMPT_COMMAND in single process mode., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 23a3402844 270/313: Trying to disable the warning on MacOS that breaks the tests., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 1598101f06 271/313: Remove the fallback to a separate process., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 18ed1504ce 274/313: Add test cases for TRAMP shell.,
ELPA Syncer <=
- [nongnu] elpa/bash-completion 23dbe5b537 276/313: Change minimum supported Emacs version from 24.1 to 24.3., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion c3797e0d09 277/313: Avoid running the same completion multiple times., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 0210d346f1 279/313: Make bash-completion-use-separate-processes default to nil., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 7a1f127851 292/313: Test and fix the dynamic table function that's returned., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3dbbd1beff 293/313: Fix tests to run under Emacs 24.3., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion d47edb9d41 294/313: Bump version to 3.1, a bugfix release., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion faefaf6950 298/313: Add command M-x bash-completion-debug, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion fa5557709e 300/313: GitHub Actions now runs tests on Emacs 27.1., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion fd853663ee 304/313: Detect non-responsive processes more quickly., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 65e54c6f9c 307/313: Temporarily revert fixes for issue #44., ELPA Syncer, 2022/12/03