From: Mattias EngdegÄrd Date: Mon, 30 Dec 2019 14:40:13 +0000 (+0100) Subject: Make minibuffer-tests work in out-of-tree builds (bug#38816) X-Git-Tag: emacs-27.0.90~244 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=957cdca6f0;p=emacs.git Make minibuffer-tests work in out-of-tree builds (bug#38816) * test/lisp/minibuffer-tests.el (completion-table-test-quoting): Set default-directory. --- 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.