]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix test on machines with Bzr not set up
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 4 Sep 2021 23:44:08 +0000 (02:44 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 4 Sep 2021 23:44:08 +0000 (02:44 +0300)
* test/lisp/vc/vc-tests.el (vc-test--version-diff):
Add EMAIL= to the environment to avoid potential failure.

test/lisp/vc/vc-tests.el

index 99de0d88240839a6367ead091e3893b507cf1cf7..39a68275a032ddcd274c572f8c59a81b86e2dfba 100644 (file)
@@ -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