]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/simple-tests.el: Full path to Emacs binary (bug#39067).
authorMattias Engdegård <mattiase@acm.org>
Mon, 20 Jan 2020 13:27:38 +0000 (14:27 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 20 Jan 2020 13:27:38 +0000 (14:27 +0100)
test/lisp/simple-tests.el

index 8ef3c885b965a4e810128936ed033a2d2fb3039c..276df795fcadb440860ccb0668fc1a2ce010177d 100644 (file)
@@ -723,7 +723,9 @@ See Bug#21722."
     `(let* ((,caller-buf (generate-new-buffer "caller-buf"))
             (,output-buf (if ,output-buffer-is-current ,caller-buf
                            (generate-new-buffer "output-buf")))
-            (,command (format "%s -Q --batch --eval '(princ \"%s\")'" invocation-name ,str))
+            (emacs (expand-file-name invocation-name invocation-directory))
+            (,command (format "%s -Q --batch --eval '(princ \"%s\")'"
+                              emacs ,str))
             (inhibit-message t))
        (unwind-protect
            ;; Feature must work the same regardless how we specify the 2nd arg of `shell-command', ie,