From 957cdca6f0dd203547277ad1d11ecda9dce82b06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Mon, 30 Dec 2019 15:40:13 +0100 Subject: [PATCH] Make minibuffer-tests work in out-of-tree builds (bug#38816) * test/lisp/minibuffer-tests.el (completion-table-test-quoting): Set default-directory. --- test/lisp/minibuffer-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.39.2