diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2019-12-30 15:40:13 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2019-12-30 21:01:14 +0100 |
commit | 957cdca6f0dd203547277ad1d11ecda9dce82b06 (patch) | |
tree | 84d15edb11d5343f6188e26d73b0c2f75f7053a2 | |
parent | 206531674947789841a61bd428dd6babce933a0d (diff) | |
download | emacs-957cdca6f0dd203547277ad1d11ecda9dce82b06.tar.gz |
Make minibuffer-tests work in out-of-tree builds (bug#38816)
* test/lisp/minibuffer-tests.el (completion-table-test-quoting):
Set default-directory.
-rw-r--r-- | test/lisp/minibuffer-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/minibuffer-tests.el b/test/lisp/minibuffer-tests.el index 6b297244214..0605bad901a 100644 --- a/test/lisp/minibuffer-tests.el +++ b/test/lisp/minibuffer-tests.el @@ -82,7 +82,8 @@ (ert-deftest completion-table-test-quoting () (let ((process-environment - `("CTTQ1=ed" "CTTQ2=et/" ,@process-environment))) + `("CTTQ1=ed" "CTTQ2=et/" ,@process-environment)) + (default-directory (expand-file-name "test" source-directory))) (pcase-dolist (`(,input ,output) '( ;; Test that $ in files is properly $$ quoted. |