diff options
| author | Rob Browning | 2018-12-18 15:34:01 -0500 |
|---|---|---|
| committer | Glenn Morris | 2018-12-18 15:34:01 -0500 |
| commit | ab8ed418596da550c79913ccc42e8c3842bca315 (patch) | |
| tree | 4398c251977687ecd526c18c89c67eda8b0e69e0 /test/lisp/net | |
| parent | 80e98568aa41b106ebc9bbec9a44fe442a93803d (diff) | |
| download | emacs-ab8ed418596da550c79913ccc42e8c3842bca315.tar.gz emacs-ab8ed418596da550c79913ccc42e8c3842bca315.zip | |
Avoid test failures if directory name looks like a regexp
Taken from <https://sources.debian.org/patches/emacs/1:26.1+1-1>
* test/lisp/ibuffer-tests.el (ibuffer-filter-inclusion-3):
* test/lisp/net/tramp-tests.el (tramp-test42-remote-load-path):
Regexp-quote file names to avoid failures with directory names
of the form "build/emacs-i87jK3/emacs-26.1+1/...".
Diffstat (limited to 'test/lisp/net')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 8f810818af1..19edec214f7 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -4773,8 +4773,9 @@ process sentinels. They shall not disturb each other." | |||
| 4773 | (string-match | 4773 | (string-match |
| 4774 | (format | 4774 | (format |
| 4775 | "Loading %s" | 4775 | "Loading %s" |
| 4776 | (expand-file-name | 4776 | (regexp-quote |
| 4777 | "tramp-cmds" (file-name-directory (locate-library "tramp")))) | 4777 | (expand-file-name |
| 4778 | "tramp-cmds" (file-name-directory (locate-library "tramp"))))) | ||
| 4778 | (shell-command-to-string | 4779 | (shell-command-to-string |
| 4779 | (format | 4780 | (format |
| 4780 | "%s -batch -Q -L %s -l tramp-sh --eval %s" | 4781 | "%s -batch -Q -L %s -l tramp-sh --eval %s" |