diff options
| author | Michael Albinus | 2023-03-14 11:39:16 +0100 |
|---|---|---|
| committer | Michael Albinus | 2023-03-14 11:39:16 +0100 |
| commit | 401ce12d6264b2763cea06363f7f5ef17232be41 (patch) | |
| tree | 27dfa500fa1c9499ebffa34d9ff589b8ec1a4105 | |
| parent | 54ef338ba3670415cf47fabc33a92d4904707c7e (diff) | |
| download | emacs-401ce12d6264b2763cea06363f7f5ef17232be41.tar.gz emacs-401ce12d6264b2763cea06363f7f5ef17232be41.zip | |
Fix Tramp tests
* test/lisp/net/tramp-tests.el (tramp-test26-file-name-completion):
Fix test.
(tramp-test45-asynchronous-requests): Mark it :unstable.
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index b6ad2e2f219..e99089f1667 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -4592,9 +4592,11 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'." | |||
| 4592 | (should-not (file-name-completion "a" tmp-name)) | 4592 | (should-not (file-name-completion "a" tmp-name)) |
| 4593 | ;; `file-name-completion' should not err out if | 4593 | ;; `file-name-completion' should not err out if |
| 4594 | ;; directory does not exist. (Bug#61890) | 4594 | ;; directory does not exist. (Bug#61890) |
| 4595 | (should-not | 4595 | ;; Ange-FTP does not support this. |
| 4596 | (file-name-completion | 4596 | (unless (tramp--test-ange-ftp-p) |
| 4597 | "a" (tramp-compat-file-name-concat tmp-name "fuzz"))) | 4597 | (should-not |
| 4598 | (file-name-completion | ||
| 4599 | "a" (tramp-compat-file-name-concat tmp-name "fuzz")))) | ||
| 4598 | ;; Ange-FTP does not support predicates. | 4600 | ;; Ange-FTP does not support predicates. |
| 4599 | (unless (tramp--test-ange-ftp-p) | 4601 | (unless (tramp--test-ange-ftp-p) |
| 4600 | (should | 4602 | (should |
| @@ -7387,10 +7389,12 @@ This is needed in timer functions as well as process filters and sentinels." | |||
| 7387 | "Check parallel asynchronous requests. | 7389 | "Check parallel asynchronous requests. |
| 7388 | Such requests could arrive from timers, process filters and | 7390 | Such requests could arrive from timers, process filters and |
| 7389 | process sentinels. They shall not disturb each other." | 7391 | process sentinels. They shall not disturb each other." |
| 7390 | :tags (append '(:expensive-test :tramp-asynchronous-processes) | 7392 | ;; :tags (append '(:expensive-test :tramp-asynchronous-processes) |
| 7391 | (and (or (getenv "EMACS_HYDRA_CI") | 7393 | ;; (and (or (getenv "EMACS_HYDRA_CI") |
| 7392 | (getenv "EMACS_EMBA_CI")) | 7394 | ;; (getenv "EMACS_EMBA_CI")) |
| 7393 | '(:unstable))) | 7395 | ;; '(:unstable))) |
| 7396 | ;; It doesn't work sufficiently. | ||
| 7397 | :tags '(:expensive-test :tramp-asynchronous-processes :unstable) | ||
| 7394 | (skip-unless (tramp--test-enabled)) | 7398 | (skip-unless (tramp--test-enabled)) |
| 7395 | (skip-unless (tramp--test-supports-processes-p)) | 7399 | (skip-unless (tramp--test-supports-processes-p)) |
| 7396 | (skip-unless (not (tramp--test-container-p))) | 7400 | (skip-unless (not (tramp--test-container-p))) |