summaryrefslogtreecommitdiff
path: root/test/lisp/vc
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2021-09-05 02:44:08 +0300
committerDmitry Gutov <dgutov@yandex.ru>2021-09-05 02:44:08 +0300
commit1d36043809cae3cbb5338e5bea47073bc56e082c (patch)
tree1bd74fb484faf1847b9d018fe1a4742487714000 /test/lisp/vc
parentea53f0df6538c83969afeec04e2fed8309667150 (diff)
downloademacs-1d36043809cae3cbb5338e5bea47073bc56e082c.tar.gz
emacs-1d36043809cae3cbb5338e5bea47073bc56e082c.tar.bz2
emacs-1d36043809cae3cbb5338e5bea47073bc56e082c.zip
Fix test on machines with Bzr not set up
* test/lisp/vc/vc-tests.el (vc-test--version-diff): Add EMAIL= to the environment to avoid potential failure.
Diffstat (limited to 'test/lisp/vc')
-rw-r--r--test/lisp/vc/vc-tests.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lisp/vc/vc-tests.el b/test/lisp/vc/vc-tests.el
index 99de0d88240..39a68275a03 100644
--- a/test/lisp/vc/vc-tests.el
+++ b/test/lisp/vc/vc-tests.el
@@ -615,7 +615,9 @@ This checks also `vc-backend' and `vc-responsible-backend'."
(when (eq backend 'Bzr)
(setq tempdir (make-temp-file "vc-test--version-diff" t)
process-environment (cons (format "BZR_HOME=%s" tempdir)
- process-environment)))
+ (cons
+ "EMAIL=john@doe.ee"
+ process-environment))))
(unwind-protect
(progn